MIRA
Public Member Functions | Public Attributes | List of all members
ThreadMonitor::ThreadInfoTempl< TID > Struct Template Reference

Combine thread identity (template param) and runtime info. More...

#include <thread/ThreadMonitor.h>

Inheritance diagram for ThreadMonitor::ThreadInfoTempl< TID >:
Inheritance graph
[legend]

Public Member Functions

 ThreadInfoTempl ()=default
 
template<typename OtherTID >
 ThreadInfoTempl (const ThreadInfoTempl< OtherTID > &other)
 implement conversion between different identity types More...
 
template<typename Reflector >
void reflect (Reflector &r)
 

Public Attributes

bool known = false
 Indicates whether this thread is known by the ThreadMonitor. More...
 
TID identity
 Thread identity data. More...
 
Time create_time
 Thread creation time in UTC. More...
 
Duration user_time
 The time amount in user-mode. More...
 
Duration kernel_time
 The time amount in kernel-mode. More...
 

Detailed Description

template<typename TID>
struct mira::ThreadMonitor::ThreadInfoTempl< TID >

Combine thread identity (template param) and runtime info.

Constructor & Destructor Documentation

◆ ThreadInfoTempl() [1/2]

ThreadInfoTempl ( )
default

◆ ThreadInfoTempl() [2/2]

ThreadInfoTempl ( const ThreadInfoTempl< OtherTID > &  other)
inline

implement conversion between different identity types

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ known

bool known = false

Indicates whether this thread is known by the ThreadMonitor.

If true, identity data in this object is valid.

◆ identity

TID identity

Thread identity data.

◆ create_time

Time create_time
inherited

Thread creation time in UTC.

◆ user_time

Duration user_time
inherited

The time amount in user-mode.

◆ kernel_time

Duration kernel_time
inherited

The time amount in kernel-mode.


The documentation for this struct was generated from the following file: