#include <JThread.h>
Definition at line 209 of file JThread.h.
cmlabs::JThread::JThread | ( | bool | start = false , |
|
int | pri = 0 | |||
) |
Definition at line 50 of file JThread_Linux.cpp.
cmlabs::JThread::~JThread | ( | ) | [virtual] |
Definition at line 64 of file JThread_Linux.cpp.
void cmlabs::JThread::run | ( | ) | [virtual] |
Reimplemented in cmlabs::CommunicationRecorder, cmlabs::SocketTester, cmlabs::JThreadTester, cmlabs::MediaConnection, cmlabs::MediaServer, cmlabs::MediaTestServer, cmlabs::Network, cmlabs::NetworkConnection, and cmlabs::Timer.
Definition at line 1283 of file JThread.cpp.
bool cmlabs::JThread::start | ( | ) |
Definition at line 94 of file JThread_Linux.cpp.
bool cmlabs::JThread::join | ( | ) |
Definition at line 141 of file JThread_Linux.cpp.
bool cmlabs::JThread::terminate | ( | ) |
bool cmlabs::JThread::terminateWait | ( | int | timeout | ) |
Definition at line 1119 of file JThread.cpp.
bool cmlabs::JThread::suspend | ( | ) |
Definition at line 180 of file JThread_Linux.cpp.
bool cmlabs::JThread::resume | ( | ) |
Definition at line 189 of file JThread_Linux.cpp.
bool cmlabs::JThread::waitThread | ( | long | ms | ) |
Definition at line 408 of file JThread_Linux.cpp.
bool cmlabs::JThread::isRunning | ( | ) |
Definition at line 208 of file JThread_Linux.cpp.
bool cmlabs::JThread::isThread | ( | ) |
Definition at line 274 of file JThread_Linux.cpp.
JString cmlabs::JThread::printThreadStatistics | ( | ThreadStat | newStat | ) |
Definition at line 1090 of file JThread.cpp.
ThreadStat cmlabs::JThread::getLocalThreadStatistics | ( | ) |
bool cmlabs::JThread::resetLocalThreadStatistics | ( | ) |
JString cmlabs::JThread::printLocalThreadStatistics | ( | ) |
ThreadStat cmlabs::JThread::getCallingThreadStatistics | ( | ) |
bool cmlabs::JThread::resetCallingThreadStatistics | ( | ) |
JString cmlabs::JThread::printCallingThreadStatistics | ( | ) |
ThreadStat cmlabs::JThread::getCurrentCPUUsage | ( | ) |
Definition at line 872 of file JThread.cpp.
ThreadStat cmlabs::JThread::getAverageCPUUsage | ( | ) |
Definition at line 901 of file JThread.cpp.
ThreadStat cmlabs::JThread::getCPUUsage | ( | HANDLE | aThread | ) |
Definition at line 216 of file JThread_Linux.cpp.
int cmlabs::JThread::getPriority | ( | ) |
Definition at line 284 of file JThread_Linux.cpp.
bool cmlabs::JThread::setPriority | ( | int | pri | ) |
Definition at line 309 of file JThread_Linux.cpp.
bool cmlabs::JThread::signalThread | ( | int | signo | ) |
bool cmlabs::JThread::waitSignal | ( | int | signo | ) |
void cmlabs::JThread::yield | ( | ) |
Definition at line 198 of file JThread_Linux.cpp.
bool cmlabs::JThread::unitTest | ( | ) |
Reimplemented in cmlabs::CommunicationRecorder, cmlabs::SocketTester, cmlabs::MediaServer, cmlabs::Network, and cmlabs::NetworkConnection.
Definition at line 1137 of file JThread.cpp.
bool cmlabs::JThread::priorityTest | ( | ) |
Definition at line 1383 of file JThread.cpp.
JString cmlabs::JThread::osGetNameVersion | ( | ) |
Definition at line 498 of file JThread_Linux.cpp.
JString cmlabs::JThread::osGetName | ( | ) |
Definition at line 507 of file JThread_Linux.cpp.
JString cmlabs::JThread::osGetVersion | ( | ) |
Definition at line 526 of file JThread_Linux.cpp.
JString cmlabs::JThread::osGetMachineArch | ( | ) |
Definition at line 545 of file JThread_Linux.cpp.
JString cmlabs::JThread::osGetMachineName | ( | ) |
Definition at line 1018 of file JThread.cpp.
JString cmlabs::JThread::osGetMachineAddress | ( | ) |
Definition at line 1058 of file JThread.cpp.
JString cmlabs::JThread::osGetType | ( | ) |
Definition at line 1065 of file JThread.cpp.
double cmlabs::JThread::osGetTotalMemory | ( | ) |
Definition at line 565 of file JThread_Linux.cpp.
double cmlabs::JThread::osGetCPUSpeed | ( | ) |
Definition at line 581 of file JThread_Linux.cpp.
int cmlabs::JThread::osGetCPUCount | ( | ) |
Definition at line 597 of file JThread_Linux.cpp.
JTime cmlabs::JThread::getStartTime | ( | ) |
JTime cmlabs::JThread::getEndTime | ( | ) |
Definition at line 1115 of file JThread.cpp.
ThreadStat cmlabs::JThread::procAverageCPUUsage | ( | ) |
Definition at line 1364 of file JThread.cpp.
ThreadStat cmlabs::JThread::procCurrentCPUUsage | ( | ) |
Definition at line 1369 of file JThread.cpp.
JString cmlabs::JThread::getComputerName | ( | ) |
Definition at line 713 of file JThread_Linux.cpp.
int cmlabs::JThread::procMemUsage | ( | ) |
Definition at line 640 of file JThread_Linux.cpp.
bool cmlabs::JThread::addToAllThreadsStats | ( | HANDLE | aThread | ) |
Definition at line 86 of file JThread.cpp.
bool cmlabs::JThread::addToAllThreadsStats | ( | HANDLE | aThread, | |
ThreadStat * | stat | |||
) |
Definition at line 80 of file JThread.cpp.
ThreadStat cmlabs::JThread::getAllThreadsStats | ( | ) |
Definition at line 105 of file JThread.cpp.
bool cmlabs::JThread::removeFromAllThreadsStats | ( | HANDLE | aThread | ) |
Definition at line 92 of file JThread.cpp.
Definition at line 615 of file JThread_Linux.cpp.
Collection cmlabs::JThread::getProgramTrace | ( | ) | [static] |
Definition at line 724 of file JThread_Linux.cpp.
int cmlabs::JThread::convPriorityToOS | ( | int | pri | ) | [protected] |
Definition at line 363 of file JThread_Linux.cpp.
int cmlabs::JThread::convPriorityToInternal | ( | int | pri | ) | [protected] |
Definition at line 390 of file JThread_Linux.cpp.
ThreadStat cmlabs::JThread::getCPUUsageOnThread | ( | HANDLE | aThread | ) | [protected] |
Definition at line 928 of file JThread.cpp.
bool cmlabs::JThread::resetCPUUsageOnThread | ( | HANDLE | aThread | ) | [protected] |
Definition at line 964 of file JThread.cpp.
ThreadStat cmlabs::JThread::getStoredCPUUsageOnThread | ( | HANDLE | aThread | ) | [protected] |
Definition at line 984 of file JThread.cpp.
HANDLE cmlabs::JThread::getCallingThreadID | ( | ) | [protected] |
Definition at line 82 of file JThread_Linux.cpp.
HANDLE cmlabs::JThread::hThread |
double cmlabs::JThread::usecFreq [protected] |
int cmlabs::JThread::priority [protected] |
ThreadStat cmlabs::JThread::stat [protected] |
ThreadStat cmlabs::JThread::procLastStat [protected] |
ThreadStat cmlabs::JThread::procStartStat [protected] |
ObjectDictionary cmlabs::JThread::statDict [protected] |