44#if !defined (PLIBSYS_H_INSIDE) && !defined (PLIBSYS_COMPILATION)
45# error "Header files shouldn't be included directly, consider using <plibsys.h> instead."
48#ifndef PLIBSYS_HEADER_PTIMEPROFILER_H
49#define PLIBSYS_HEADER_PTIMEPROFILER_H
#define P_BEGIN_DECLS
Starts .h file declarations to be exported as C functions.
#define P_END_DECLS
Closes .h file declarations to be exported as C functions, should be always used after P_BEGIN_DECLS.
#define P_LIB_API
Exports a symbol from a shared library.
P_LIB_API void p_time_profiler_reset(PTimeProfiler *profiler)
Resets the PTimeProfiler's internal counter to zero.
P_LIB_API puint64 p_time_profiler_elapsed_usecs(const PTimeProfiler *profiler)
Calculates elapsed time since the last reset or creation.
P_LIB_API PTimeProfiler * p_time_profiler_new(void)
Creates a new PTimeProfiler object.
struct PTimeProfiler_ PTimeProfiler
Time profiler opaque data structure.
P_LIB_API void p_time_profiler_free(PTimeProfiler *profiler)
Frees PTimeProfiler object.
unsigned __int64 puint64
Type for unsigned 64 bit.