Which Microsoft Header should i use for Speed Tests

This is a discussion on Which Microsoft Header should i use for Speed Tests within the Windows Programming forums, part of the Platform Specific Boards category; i was using POSIX compliant calls such as 'timezone tz' and 'gettimeofday' which Microsoft claim to support, however i've had ...

Which Microsoft Header should i use for Speed Tests

i was using POSIX compliant calls such as 'timezone tz' and 'gettimeofday' which Microsoft claim to support, however i've had trouble compiling. If i wanted to use Microsoft Windows calls to do speed tests on my PC which Header file is the standard for doing time based operations? and how can i find out more about what these header files contain?

>>but am still unsure whether i need to add a header file to my project to gain access to the QueryPerformanceCounter() function?<<

Please follow the link I gave in my previous post to the msdn description for the api function in question. Please scroll to the bottom of that page and please note the point on that msdn page where it states: