macro TEST_PAL_GET_HIGHRES_TIME

From liblfds.org
Revision as of 21:05, 7 May 2016 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds710
    └───inc
        └───liblfds710
                lfds710_lfds710_porting_abstraction_layer_compiler.h

Macro

#define TEST_PAL_GET_HIGHRES_TIME( pointer_to_current_time )

Parameters

pointer_to_current_time

A pointer to an int long long unsigned, which will be set to the current high resolution time.

Return Value

No return value.

Optionality

This macro is optional. If it is not implemented, the define must be absent, rather than being empty.

Notes

This macro and the TEST_PAL_GET_HIGHRES_TIME_UNITS_PER_SECOND macro are needed for one the NOP Test. If either is unimplemented, the test is skipped.

Example

#define TEST_PAL_GET_HIGHRES_TIME( pointer_to_current_time )  QueryPerformanceCounter( (LARGE_INTEGER *)(pointer_to_current_time) )

See Also