| 1063 | |
| 1064 | |
| 1065 | CStat::CStat () |
| 1066 | { |
| 1067 | size_t L_size = 0; |
| 1068 | L_size += strlen(DEFAULT_FILE_NAME) ; |
| 1069 | L_size += strlen(DEFAULT_EXTENSION) ; |
| 1070 | L_size += 1 ; |
| 1071 | M_fileName = new char[L_size]; |
| 1072 | strcpy(M_fileName, DEFAULT_FILE_NAME); |
| 1073 | strcat(M_fileName, DEFAULT_EXTENSION); |
| 1074 | M_ResponseTimeRepartition = nullptr; |
| 1075 | M_CallLengthRepartition = nullptr; |
| 1076 | M_SizeOfResponseTimeRepartition = 0; |
| 1077 | M_SizeOfCallLengthRepartition = 0; |
| 1078 | M_fileNameRtt = nullptr; |
| 1079 | M_genericCounters = nullptr; |
| 1080 | M_time_ref = 0.0 ; |
| 1081 | M_dumpRespTime = nullptr ; |
| 1082 | M_counterDumpRespTime = 0 ; |
| 1083 | M_dumpRespTime = nullptr; |
| 1084 | M_fileNameRtt = nullptr; |
| 1085 | M_rtdInfo = nullptr; |
| 1086 | M_rtpEchoErrors = 0; |
| 1087 | |
| 1088 | init(); |
| 1089 | } |
| 1090 | |
| 1091 | char* CStat::sRepartitionHeader(T_dynamicalRepartition * tabRepartition, |
| 1092 | int sizeOfTab, |