MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / ElapsedSec

Method ElapsedSec

paddle/phi/core/platform/timer.cc:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51double Timer::ElapsedMS() { return _elapsed / 1000.0; } // NOLINT
52
53double Timer::ElapsedSec() { return _elapsed / 1000000.0; } // NOLINT
54
55int64_t Timer::Tickus() {
56 gettimeofday(&_now, nullptr);

Callers 15

TrainFilesMethod · 0.80
clearMethod · 0.80
LoadIntoMemoryMethod · 0.80
LoadIntoMemoryFromSoMethod · 0.80
LoadIntoMemoryByFileMethod · 0.80
LoadIntoMemoryByLineMethod · 0.80
LoadIntoMemoryMethod · 0.80
LocalShuffleMethod · 0.80
TDMSampleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected