File timing.cpp

Variables

faabric::util::TimePoint globalStart
std::unordered_map<std::string, std::atomic<long>> timerTotals
std::unordered_map<std::string, std::atomic<int>> timerCounts
namespace faabric
namespace util

Functions

faabric::util::TimePoint startTimer()
long getTimeDiffNanos(const faabric::util::TimePoint &begin)
long getTimeDiffMicros(const faabric::util::TimePoint &begin)
double getTimeDiffMillis(const faabric::util::TimePoint &begin)
void logEndTimer(const std::string &label, const faabric::util::TimePoint &begin)
void startGlobalTimer()
void printTimerTotals()
uint64_t timespecToNanos(struct timespec *nativeTimespec)
void nanosToTimespec(uint64_t nanos, struct timespec *nativeTimespec)