|
fdhwlib
2.0.25
|
#include <SltTimeStamp.h>
The class provides methods to access to the time stamp data of the pages.
The parameter <width> control whether the array contains a second counter or not. If the second counter is available specify width = 2. If there is no second counter use width = 1.
Definition at line 30 of file SltTimeStamp.h.
| SltTimeStamp::SltTimeStamp | ( | const char * | name, |
| int | slotID, | ||
| int | regID, | ||
| int | r, | ||
| int | w, | ||
| int | len, | ||
| int | width | ||
| ) |
| SltTimeStamp::~SltTimeStamp | ( | ) |
| unsigned long SltTimeStamp::read | ( | int | elem | ) |
Unformated read like in SltRegisterVector.
The elements are numbered from 0..width*len. Where len equals the number of pages and witdh the number of long words required for the timestamp of a single page.
Reimplemented from SltRegisterVector.
| void SltTimeStamp::read | ( | unsigned long * | data | ) |
Unformated read like in SltRegisterVector.
As elements are numbered from 0..width*len, the size of the data array has to be at least width*len.
Reimplemented from SltRegisterVector.
| void SltTimeStamp::read | ( | int | page, |
| SltTime * | time | ||
| ) |
Read the time stamp of one page.
| page | Page number (0..SLT_PAGES-1) |
| time | Pointer to a SltTime object. The object will be used to return the requested time stamp. |
| void SltTimeStamp::read | ( | int | page, |
| unsigned long * | secCount, | ||
| unsigned long * | subSecCount | ||
| ) |
| void SltTimeStamp::read | ( | SltTime * | time | ) |
Read the time stamp of all pages.
| time | Pointer to an array of SltTime objects The required length of the list depends on the length defined of the register vector. |
| void SltTimeStamp::write | ( | int | page, |
| SltTime * | time | ||
| ) |
Write to the timestamp memory (only for simulation mode)
| page | Page number (0..SLT_PAGES-1) |
| time | Time stamp to be written |
| void SltTimeStamp::write | ( | int | page, |
| unsigned long | secCount, | ||
| unsigned long | subSecCount | ||
| ) |
Write to the timestamp memory (only for simulation mode)
| page | Page number (0..SLT_PAGES-1) |
| secCount | second part of the time stamp |
| subSecCount | subsecond part of the tiem stamp |
int SltTimeStamp::width [private] |
Number of long words / registers required for the time stamp of a single page.
Definition at line 97 of file SltTimeStamp.h.