Lines Matching refs:metrics

19 	TraceBaseType_t metrics[TRC_DIAGNOSTICS_COUNT];  member
37 pxDiagnostics->metrics[i] = 0; in xTraceDiagnosticsInitialize()
56 *pxValue = pxDiagnostics->metrics[(TraceUnsignedBaseType_t)xType]; in xTraceDiagnosticsGet()
69 pxDiagnostics->metrics[(TraceUnsignedBaseType_t)xType] = xValue; in xTraceDiagnosticsSet()
82 pxDiagnostics->metrics[(TraceUnsignedBaseType_t)xType] += xValue; in xTraceDiagnosticsAdd()
105 if (xValue > pxDiagnostics->metrics[xType]) in xTraceDiagnosticsSetIfHigher()
107 pxDiagnostics->metrics[(TraceUnsignedBaseType_t)xType] = xValue; in xTraceDiagnosticsSetIfHigher()
121 if (xValue < pxDiagnostics->metrics[(TraceUnsignedBaseType_t)xType]) in xTraceDiagnosticsSetIfLower()
123 pxDiagnostics->metrics[(TraceUnsignedBaseType_t)xType] = xValue; in xTraceDiagnosticsSetIfLower()
137 if (pxDiagnostics->metrics[TRC_DIAGNOSTICS_ENTRY_SLOTS_NO_ROOM] > 0) in xTraceDiagnosticsCheckStatus()
140 pxDiagnostics->metrics[TRC_DIAGNOSTICS_ENTRY_SLOTS_NO_ROOM] = 0; in xTraceDiagnosticsCheckStatus()
143 …if (pxDiagnostics->metrics[TRC_DIAGNOSTICS_ENTRY_SYMBOL_LONGEST_LENGTH] > (TRC_CFG_ENTRY_SYMBOL_MA… in xTraceDiagnosticsCheckStatus()
146 pxDiagnostics->metrics[TRC_DIAGNOSTICS_ENTRY_SYMBOL_LONGEST_LENGTH] = 0; in xTraceDiagnosticsCheckStatus()
149 if (pxDiagnostics->metrics[TRC_DIAGNOSTICS_BLOB_MAX_BYTES_TRUNCATED] > 0) in xTraceDiagnosticsCheckStatus()
152 pxDiagnostics->metrics[TRC_DIAGNOSTICS_BLOB_MAX_BYTES_TRUNCATED] = 0; in xTraceDiagnosticsCheckStatus()
155 if (pxDiagnostics->metrics[TRC_DIAGNOSTICS_STACK_MONITOR_NO_SLOTS] > 0) in xTraceDiagnosticsCheckStatus()
158 pxDiagnostics->metrics[TRC_DIAGNOSTICS_STACK_MONITOR_NO_SLOTS] = 0; in xTraceDiagnosticsCheckStatus()