Changeset 167 in dev for trunk/abdev/BasicCompiler_Common/Diagnose.cpp
- Timestamp:
- Jun 17, 2007, 9:56:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Diagnose.cpp
r159 r167 1 #include <Program.h> 2 1 3 #include "../BasicCompiler_Common/common.h" 2 4 … … 19 21 extern int GlobalOpBufferSize; 20 22 sprintf(temporary, "%d", GlobalOpBufferSize/1024 ); 21 Smoothie::Logger::Put( (string)"グローバル領域のコードサイズ: " + temporary + "KB" );23 trace_for_size( (string)"グローバル領域のコードサイズ: " + temporary + "KB" ); 22 24 sprintf(temporary, "%d", (obp-GlobalOpBufferSize)/1024 ); 23 Smoothie::Logger::Put( (string)"ローカル領域のコードサイズ: " + temporary + "KB" );25 trace_for_size( (string)"ローカル領域のコードサイズ: " + temporary + "KB" ); 24 26 sprintf(temporary, "%d", obp/1024 ); 25 Smoothie::Logger::Put( (string)"コードサイズ総量: " + temporary + "KB" );27 trace_for_size( (string)"コードサイズ総量: " + temporary + "KB" ); 26 28 } 27 29 … … 51 53 52 54 sprintf(temporary, "%d", codeSizeOfGlobalProc/1024 ); 53 Smoothie::Logger::Put( (string)"グローバル関数のコードサイズ総量: " + temporary + "KB" );55 trace_for_size( (string)"グローバル関数のコードサイズ総量: " + temporary + "KB" ); 54 56 sprintf(temporary, "%d", codeSizeOfClassMethod/1024 ); 55 Smoothie::Logger::Put( (string)"クラスメソッドのコードサイズ総量: " + temporary + "KB" );57 trace_for_size( (string)"クラスメソッドのコードサイズ総量: " + temporary + "KB" ); 56 58 } 57 59 … … 92 94 93 95 sprintf(temporary, "%d", codeSizeOfEnum/1024 ); 94 Smoothie::Logger::Put( (string)"Enumのコードサイズ総量: " + temporary + "KB" );96 trace_for_size( (string)"Enumのコードサイズ総量: " + temporary + "KB" ); 95 97 } 96 98 97 Smoothie::Logger::Put( "\n\n" );99 trace_for_size( "\n\n" ); 98 100 99 101 { … … 130 132 lstrcat( temporary, "------------------------------------------------------------------\n" ); 131 133 lstrcat( temporary, "\n" ); 132 Smoothie::Logger::Put( temporary );134 trace_for_size( temporary ); 133 135 } 134 136 }
Note:
See TracChangeset
for help on using the changeset viewer.