Condizionato a DBG il contatore delle malloc
git-svn-id: svn://10.65.10.50/trunk@2174 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
32f662942e
commit
411b860d94
@ -13,7 +13,9 @@
|
|||||||
|
|
||||||
HIDDEN const char* const MASK_EXT = "msk";
|
HIDDEN const char* const MASK_EXT = "msk";
|
||||||
|
|
||||||
|
#ifdef DBG
|
||||||
extern unsigned long _alloc_count;
|
extern unsigned long _alloc_count;
|
||||||
|
#endif
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
// TMask methods
|
// TMask methods
|
||||||
@ -883,8 +885,11 @@ bool TMask::on_key(
|
|||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
"Allocazioni = %lu\n"
|
"Allocazioni = %lu\n"
|
||||||
#endif
|
#endif
|
||||||
, _total_time-_build_time, _build_time, _init_time,
|
, _total_time-_build_time, _build_time, _init_time
|
||||||
_alloc_count);
|
#ifdef DBG
|
||||||
|
, _alloc_count
|
||||||
|
#endif
|
||||||
|
);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (key > K_CTRL)
|
if (key > K_CTRL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user