Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
chromium_org
/
third_party
/
skia
/
ea5dfa87b2c2d043bbfefd3f697352c69b6fcd1e
/
.
/
bench
/
BenchSysTimer_posix.h
blob: 09dfb0e14235104918e89890ab6b4db60ccc596e [
file
] [
log
] [
blame
]
#ifndef
SkBenchSysTimer_DEFINED
#define
SkBenchSysTimer_DEFINED
//Time
#include
<time.h>
class
BenchSysTimer
{
public
:
void
startWall
();
void
startCpu
();
double
endCpu
();
double
endWall
();
private
:
timespec fCpu
;
timespec fWall
;
};
#endif