Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YCPULogFile Class Reference

#include <logfile.h>

Inheritance diagram for YCPULogFile:

Inheritance graph
[legend]
Collaboration diagram for YCPULogFile:

Collaboration graph
[legend]
List of all members.

Signals

void RemoveLogFile ()

Public Member Functions

 YCPULogFile (const YObjectArgs &i)
 ~YCPULogFile ()
int ParseCPUSection (YLogFile &file)
 Parse CPU logfile of file and create logfile instances.

int GetCPU () const
void SetCPU (int cpu)
YASA_TIME GetDuration () const
 Returns the max time of this cpu.

YCPULogFileStatisticsGetStatistics ()
YLogActionsGetLogActions ()
YLogActionCreateJitterLogAction (YASA_TIME time, YASA_TIME endtime)

Static Public Member Functions

void SetEndRange (YLogAction **range, YLogAction *action, YASA_TIME t)
YASA_TIME ReadYasaTimeParam (const QString &str, bool &ok)
QString ExtractName (const QString src)

Private Attributes

Q_OBJECT YLogActions logactions
YCPULogFileStatistics statistics

Detailed Description

Logging properties of one CPU


Constructor & Destructor Documentation

YCPULogFile::YCPULogFile const YObjectArgs   i [inline]
 

YCPULogFile::~YCPULogFile   [inline]
 


Member Function Documentation

YLogAction * YCPULogFile::CreateJitterLogAction YASA_TIME    time,
YASA_TIME    endtime
 

Create a jitter logging entry if needed.

QString YCPULogFile::ExtractName const QString    src [static]
 

This function extracts the name of a mutex|thread from the given string e.g. name=""task1", parameter: 1" -> "task1"

int YCPULogFile::GetCPU   const [inline]
 

YASA_TIME YCPULogFile::GetDuration   const [inline]
 

Returns the max time of this cpu.

YLogActions& YCPULogFile::GetLogActions   [inline]
 

YCPULogFileStatistics& YCPULogFile::GetStatistics   [inline]
 

int YCPULogFile::ParseCPUSection YLogFile   file
 

Parse CPU logfile of file and create logfile instances.

The real deadline is given in the parameter

YASA_TIME YCPULogFile::ReadYasaTimeParam const QString &    str,
bool &    ok
[static]
 

Reads a YASA-TIME from the logging parameter

void YCPULogFile::RemoveLogFile   [signal]
 

void YCPULogFile::SetCPU int    cpu [inline]
 

void YCPULogFile::SetEndRange YLogAction **    range,
YLogAction   action,
YASA_TIME    t
[static]
 

This function set the endtime of an earlier created range logging entry (Task, Mutex, Excluded)


Member Data Documentation

Q_OBJECT YLogActions YCPULogFile::logactions [private]
 

YCPULogFileStatistics YCPULogFile::statistics [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Feb 13 23:53:17 2003 for Yasa by doxygen1.3-rc3