macro TEST_PAL_GET_HIGHRES_TIME

From liblfds.org
Jump to: navigation, search

Source File

└───liblfds711
    └───inc
        └───liblfds711
                lfds711_lfds711_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