Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
void | MyDoMinus64 (LARGE_INTEGER *R, LARGE_INTEGER A, LARGE_INTEGER B) |
void | myGetRDTSC32 (LARGE_INTEGER *pbeginTime64) |
void | BeginCountRdtsc (LARGE_INTEGER *pbeginTime64) |
LARGE_INTEGER | GetResRdtsc (LARGE_INTEGER beginTime64, BOOL fComputeTimeQueryPerf) |
void | BeginCountPerfCounter (LARGE_INTEGER *pbeginTime64, BOOL fComputeTimeQueryPerf) |
DWORD | GetMsecSincePerfCounter (LARGE_INTEGER beginTime64, BOOL fComputeTimeQueryPerf) |
int | ReadFileMemory (const char *filename, long *plFileSize, unsigned char **pFilePtr) |
int | main (int argc, char *argv[]) |
void BeginCountPerfCounter | ( | LARGE_INTEGER * | pbeginTime64, |
BOOL | fComputeTimeQueryPerf | ||
) |
void BeginCountRdtsc | ( | LARGE_INTEGER * | pbeginTime64 | ) |
DWORD GetMsecSincePerfCounter | ( | LARGE_INTEGER | beginTime64, |
BOOL | fComputeTimeQueryPerf | ||
) |
Definition at line 93 of file testzlib.c.
References DWORD, and MyDoMinus64().
Referenced by main().
LARGE_INTEGER GetResRdtsc | ( | LARGE_INTEGER | beginTime64, |
BOOL | fComputeTimeQueryPerf | ||
) |
Definition at line 145 of file testzlib.c.
References argv, z_stream_s::avail_in, z_stream_s::avail_out, BeginCountPerfCounter(), BeginCountRdtsc(), deflate(), deflateEnd(), deflateInit, DWORD, GetMsecSincePerfCounter(), GetResRdtsc(), inflate(), inflateEnd(), inflateInit, int, malloc(), memset(), min, z_stream_s::next_in, z_stream_s::next_out, printf(), ReadFileMemory(), realloc(), step(), z_stream_s::total_in, z_stream_s::total_out, TRUE, Z_DEFAULT_COMPRESSION, Z_FINISH, Z_OK, and Z_SYNC_FLUSH.
void MyDoMinus64 | ( | LARGE_INTEGER * | R, |
LARGE_INTEGER | A, | ||
LARGE_INTEGER | B | ||
) |
void myGetRDTSC32 | ( | LARGE_INTEGER * | pbeginTime64 | ) |
Definition at line 67 of file testzlib.c.
Definition at line 119 of file testzlib.c.
References benchmark::FILE, malloc(), NULL, SEEK_END, and SEEK_SET.
Referenced by main().