PTLib  Version 2.18.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PThread::Times Struct Reference

Times for execution of the thread. More...

#include <thread.h>

Collaboration diagram for PThread::Times:

Public Member Functions

 PPROFILE_EXCLUDE ()
 
 PPROFILE_EXCLUDE (friend ostream &operator<<(ostream &strm, const Times &times))
 
 PPROFILE_EXCLUDE (float AsPercentage() const )
 
 PPROFILE_EXCLUDE (Times operator-(const Times &rhs) const )
 
 PPROFILE_EXCLUDE (Times &operator-=(const Times &rhs))
 
 PPROFILE_EXCLUDE (bool operator<(const Times &rhs) const {return m_uniqueId< rhs.m_uniqueId;})
 

Public Attributes

PString m_name
 Name of thread. More...
 
PThreadIdentifier m_threadId
 Operating system thread ID. More...
 
PUniqueThreadIdentifier m_uniqueId
 Unique thread identifier. More...
 
PTimeInterval m_real
 Total real time since thread start in milliseconds. More...
 
PTimeInterval m_kernel
 Total kernel CPU time in milliseconds. More...
 
PTimeInterval m_user
 Total user CPU time in milliseconds. More...
 
PTime m_sample
 Time of sample. More...
 

Detailed Description

Times for execution of the thread.

Member Function Documentation

PThread::Times::PPROFILE_EXCLUDE ( )
PThread::Times::PPROFILE_EXCLUDE ( friend ostream &operator<<  ostream &strm, const Times &times)
PThread::Times::PPROFILE_EXCLUDE ( float AsPercentage()  const)
PThread::Times::PPROFILE_EXCLUDE ( Times operator-(const Times &rhs)  const)
PThread::Times::PPROFILE_EXCLUDE ( Times &operator-  = (const Times &rhs))
PThread::Times::PPROFILE_EXCLUDE ( )

Member Data Documentation

PTimeInterval PThread::Times::m_kernel

Total kernel CPU time in milliseconds.

PString PThread::Times::m_name

Name of thread.

PTimeInterval PThread::Times::m_real

Total real time since thread start in milliseconds.

PTime PThread::Times::m_sample

Time of sample.

PThreadIdentifier PThread::Times::m_threadId

Operating system thread ID.

PUniqueThreadIdentifier PThread::Times::m_uniqueId

Unique thread identifier.

PTimeInterval PThread::Times::m_user

Total user CPU time in milliseconds.


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