20 #ifndef __JackEngineProfiling__
21 #define __JackEngineProfiling__
24 #include "JackTypes.h"
25 #include "JackConstants.h"
26 #include "JackShmMem.h"
31 #define TIME_POINTS 100000
32 #define FAILURE_TIME_POINTS 10000
33 #define FAILURE_WINDOW 10
34 #define MEASURED_CLIENTS 32
44 jack_time_t fSignaledAt;
46 jack_time_t fFinishedAt;
47 jack_client_state_t fStatus;
54 fStatus((jack_client_state_t)0)
57 } POST_PACKED_STRUCTURE;
67 char fName[JACK_CLIENT_NAME_SIZE + 1];
77 } POST_PACKED_STRUCTURE;
86 unsigned int fAudioCycle;
87 jack_time_t fPeriodUsecs;
88 jack_time_t fCurCycleBegin;
89 jack_time_t fPrevCycleEnd;
99 } POST_PACKED_STRUCTURE;
117 unsigned int fAudioCycle;
118 unsigned int fMeasuredClient;
120 bool CheckClient(
const char* name,
int cur_point);
129 jack_time_t period_usecs,
130 jack_time_t cur_cycle_begin,
131 jack_time_t prev_cycle_end);
135 } POST_PACKED_STRUCTURE;
Timing interval in the global table for a given client.
Graph manager: contains the connection manager and the port array.
Timing stucture for a client.
Timing stucture for a table of clients.