22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 # include "incls/_precompiled.incl" |
25 # include "incls/_precompiled.incl" |
26 # include "incls/_perfMemory.cpp.incl" |
26 # include "incls/_perfMemory.cpp.incl" |
|
27 |
|
28 // Prefix of performance data file. |
|
29 const char PERFDATA_NAME[] = "hsperfdata"; |
|
30 |
|
31 // Add 1 for the '_' character between PERFDATA_NAME and pid. The '\0' terminating |
|
32 // character will be included in the sizeof(PERFDATA_NAME) operation. |
|
33 static const size_t PERFDATA_FILENAME_LEN = sizeof(PERFDATA_NAME) + |
|
34 UINT_CHARS + 1; |
27 |
35 |
28 char* PerfMemory::_start = NULL; |
36 char* PerfMemory::_start = NULL; |
29 char* PerfMemory::_end = NULL; |
37 char* PerfMemory::_end = NULL; |
30 char* PerfMemory::_top = NULL; |
38 char* PerfMemory::_top = NULL; |
31 size_t PerfMemory::_capacity = 0; |
39 size_t PerfMemory::_capacity = 0; |