Home
last modified time | relevance | path

Searched refs:GetNSecs (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/tools/viewer/
H A DAnimTimer.h48 fPreviousNanos = SkTime::GetNSecs(); in run()
52 fPreviousNanos = SkTime::GetNSecs(); in run()
85 double now = SkTime::GetNSecs(); in updateTime()
H A DSkottieSlide.cpp212 const auto t0 = SkTime::GetNSecs(); in draw()
217 fFrameTimes[frame_index] = static_cast<float>((SkTime::GetNSecs() - t0) * 1e-6); in draw()
/third_party/skia/include/core/
H A DSkTime.h40 static double GetSecs() { return GetNSecs() * 1e-9; } in GetSecs()
41 static double GetMSecs() { return GetNSecs() * 1e-6; } in GetMSecs()
42 static double GetNSecs();
/third_party/skia/docs/examples/
H A DPath_updateBoundsCache.cpp17 double start = SkTime::GetNSecs(); in REG_FIDDLE()
19 times[1 & i] += SkTime::GetNSecs() - start; in REG_FIDDLE()
/third_party/skia/tests/
H A DTest.cpp73 skiatest::Timer::Timer() : fStartNanos(SkTime::GetNSecs()) {} in Timer()
76 return SkTime::GetNSecs() - fStartNanos; in elapsedNs()
/third_party/skia/tools/
H A Ddump_record.cpp46 auto start = SkTime::GetNSecs(); in operator ()()
48 this->print(command, SkTime::GetNSecs() - start); in operator ()()
/third_party/skia/modules/skplaintexteditor/app/
H A Deditor_application.cpp77 Timer(const char* desc = "") : fTime(SkTime::GetNSecs()), fDesc(desc) {} in Timer()
78 ~Timer() { SkDebugf("%s: %5d μs\n", fDesc, (int)((SkTime::GetNSecs() - fTime) * 1e-3)); } in ~Timer()
405 double now = SkTime::GetNSecs();
/third_party/skia/src/core/
H A DSkTime.cpp74 double SkTime::GetNSecs() { in GetNSecs() function in SkTime
/third_party/skia/experimental/sktext/editor/
H A DApp.cpp48 double now = SkTime::GetNSecs();
/third_party/skia/bench/
H A Dnanobench.cpp194 static double now_ms() { return SkTime::GetNSecs() * 1e-6; } in now_ms()

Completed in 7 milliseconds