Utilities, such as formatted printing or other handlers of the structured data.
More...
Utilities, such as formatted printing or other handlers of the structured data.
◆ formatTimestampWithMillis()
void formatTimestampWithMillis |
( |
FILETIME | ft, |
|
|
char * | buffer, |
|
|
size_t | bufferSize ) |
Formats the timestamp into a string with milliseconds.
- Parameters
-
ft | FILETIME structure representing the timestamp. |
buffer | Pointer to the buffer where the formatted timestamp will be stored. |
bufferSize | Size of the buffer. |
◆ printCursorDatum()
void printCursorDatum |
( |
CursorData * | cursorData, |
|
|
const char * | tag ) |
Prints a cursor datum to the terminal.
- Parameters
-
cursorData | Pointer to the CursorData structure to be printed. |
tag | NULL or string with identifier tag for labeling printed line. |
◆ printStateDatum()
void printStateDatum |
( |
StateData * | stateData, |
|
|
const char * | tag ) |
Prints a state datum to the terminal.
- Parameters
-
stateData | Pointer to the StateData structure to be printed. |
tag | NULL or string with identifier tag for labeling printed line. |
◆ printTrialDatum()
void printTrialDatum |
( |
TrialData * | trialData, |
|
|
const char * | tag ) |
Prints a trial datum to the terminal.
- Parameters
-
trialData | Pointer to the TrialData structure to be printed. |
tag | NULL or string with identifier tag for labeling printed line. |
◆ updateLogData()
Updates the log data structure with current values for logging.
- Parameters
-
logData | Pointer to the LogData structure to be updated. |
set_index | New value for set_index field. |
state | New value for state field. |
trial | New value for trial field. |