FireBirdLib - Topfield TMS PVR TAP Programming Library
CallTraceResetStats.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include "
FBLib_debug.h
"
3
4
void
CallTraceResetStats
(
void
)
5
{
6
if
(!
CallTraceInitialized
)
CallTraceInit
();
7
8
TAP_MemFree(
CallTraceStats
);
9
CallTraceStats
= TAP_MemAlloc(
CTSTATENTRIES
*
sizeof
(
tCallTraceStats
));
10
if
(
CallTraceStats
) memset(
CallTraceStats
, 0,
CTSTATENTRIES
*
sizeof
(
tCallTraceStats
));
11
CallTraceStatsEntries
= 0;
12
}
CallTraceInitialized
bool CallTraceInitialized
Definition:
CallTraceInit.c:6
CallTraceStatsEntries
int CallTraceStatsEntries
Definition:
CallTraceInit.c:8
CallTraceStats
tCallTraceStats * CallTraceStats
Definition:
CallTraceInit.c:7
CallTraceInit
void CallTraceInit(void)
Definition:
CallTraceInit.c:11
CallTraceResetStats
void CallTraceResetStats(void)
Definition:
CallTraceResetStats.c:4
FBLib_debug.h
CTSTATENTRIES
#define CTSTATENTRIES
Definition:
FBLib_debug.h:8
tCallTraceStats
Definition:
FBLib_debug.h:12
debug
CallTraceResetStats.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3