#include <base/Profiler.h>
Inherited by Profiler::ComputeTask, Profiler::IOTask, Profiler::RenderingTask, Profiler::ResourceCreateTask, Profiler::SecurityTask, Profiler::UITask, and Profiler::WaitTask.
|
| Task (const char *_name, const char *_cat=nullptr) noexcept |
|
| ~Task () noexcept |
|
|
static unsigned int | getTask (const char *name, const char *cat) noexcept |
|
static void | pushTask (unsigned int taskId) noexcept |
|
◆ Task()
Profiler::Task::Task |
( |
const char * |
_name, |
|
|
const char * |
_cat = nullptr |
|
) |
| |
|
inlinenoexcept |
◆ ~Task()
Profiler::Task::~Task |
( |
| ) |
|
|
inlinenoexcept |
◆ getTask()
static unsigned int Profiler::Task::getTask |
( |
const char * |
name, |
|
|
const char * |
cat |
|
) |
| |
|
staticnoexcept |
◆ pushTask()
static void Profiler::Task::pushTask |
( |
unsigned int |
taskId | ) |
|
|
staticnoexcept |
◆ setTaskBytesRead()
void Profiler::Task::setTaskBytesRead |
( |
const uint8 * |
buffer, |
|
|
unsigned int |
bytesRead |
|
) |
| |
|
protectednoexcept |
Sets bytes read for task.
◆ setTaskBytesWritten()
void Profiler::Task::setTaskBytesWritten |
( |
const uint8 * |
buffer, |
|
|
unsigned int |
bytesWritten |
|
) |
| |
|
protectednoexcept |
Sets bytes written for task.
◆ setTaskPath()
void Profiler::Task::setTaskPath |
( |
const String & |
path | ) |
|
|
protectednoexcept |
Sets the path for the resource handle for the object.
◆ setTaskResourceHandle()
void Profiler::Task::setTaskResourceHandle |
( |
const ResourceHandle & |
handle | ) |
|
|
protectednoexcept |
Sets the resource handle for the object.
◆ setTaskSecurityLevel()
void Profiler::Task::setTaskSecurityLevel |
( |
unsigned int |
securityLevel | ) |
|
|
protectednoexcept |
Sets the security level for the object.
◆ setTaskWaitHandle() [1/2]
void Profiler::Task::setTaskWaitHandle |
( |
const Resource & |
resource | ) |
|
|
protectednoexcept |
Sets the resource handle for the object.
◆ setTaskWaitHandle() [2/2]
void Profiler::Task::setTaskWaitHandle |
( |
const ResourceHandle & |
handle | ) |
|
|
protectednoexcept |
Sets the resource handle for the object.
◆ setTaskWaitId()
void Profiler::Task::setTaskWaitId |
( |
const char * |
id | ) |
|
|
protectednoexcept |
Sets the name of the object.