Entire-Metadata: .entire/metadata/fb87247f-2a75-407e-b336-cbc8c20ba5a6 Entire-Session: fb87247f-2a75-407e-b336-cbc8c20ba5a6 Entire-Strategy: manual-commit
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2025 Real-Time Innovations, Inc. All rights reserved.
|
|
* No duplications, whole or partial, manual or electronic, may be made
|
|
* without express written permission. Any such copies, or revisions thereof,
|
|
* must display this notice unaltered.
|
|
* This code contains trade secrets of Real-Time Innovations, Inc.
|
|
*/
|
|
|
|
#ifndef commend_test_h
|
|
#define commend_test_h
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct RTIClock;
|
|
|
|
|
|
#define COMMEND_TESTER_BUFFER_SIZE_COUNT (5)
|
|
|
|
extern RTI_UINT32 COMMEND_TESTER_BUFFER_SIZE[COMMEND_TESTER_BUFFER_SIZE_COUNT];
|
|
|
|
extern char *COMMENDTestBuffer_new(void);
|
|
|
|
extern void COMMENDTestBuffer_delete(char *pointer);
|
|
|
|
extern void COMMENDTester_printTraversalTime(
|
|
int size,
|
|
double sigma_traversalTime1,
|
|
double sigma_traversalTime1Squared,
|
|
double sigma_traversalTime2,
|
|
double sigma_traversalTime2Squared,
|
|
int sampleCount);
|
|
|
|
struct COMMENDTesterCallbackPerformanceInfo {
|
|
struct REDAWorker *visitingWorker;
|
|
struct RTIClock *clock; /* use this clock (if not NULL) to timestamp */
|
|
struct RTINtpTime timestamp;
|
|
};
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* commend_test_h */
|