swift
Loading...
Searching...
No Matches
cputime.h File Reference

Go to the source code of this file.

Namespaces

namespace  swift::misc
 Free functions in swift::misc.

Functions

int swift::misc::getProcessCpuTimeMs ()
 Get the time in milliseconds that the CPU has spent executing the current process.
int swift::misc::getThreadCpuTimeMs ()
 Get the time in milliseconds that the CPU has spent executing the current thread.