Ignore:
Timestamp:
Jun 17, 2007, 9:56:19 PM (17 years ago)
Author:
dai_9181
Message:

BasicSysDirをGetAppDirに置き換えた

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/Diagnose.cpp

    r159 r167  
     1#include <Program.h>
     2
    13#include "../BasicCompiler_Common/common.h"
    24
     
    1921        extern int GlobalOpBufferSize;
    2022        sprintf(temporary, "%d", GlobalOpBufferSize/1024 );
    21         Smoothie::Logger::Put( (string)"グローバル領域のコードサイズ: " + temporary + "KB" );
     23        trace_for_size( (string)"グローバル領域のコードサイズ: " + temporary + "KB" );
    2224        sprintf(temporary, "%d", (obp-GlobalOpBufferSize)/1024 );
    23         Smoothie::Logger::Put( (string)"ローカル領域のコードサイズ: " + temporary + "KB" );
     25        trace_for_size( (string)"ローカル領域のコードサイズ: " + temporary + "KB" );
    2426        sprintf(temporary, "%d", obp/1024 );
    25         Smoothie::Logger::Put( (string)"コードサイズ総量: " + temporary + "KB" );
     27        trace_for_size( (string)"コードサイズ総量: " + temporary + "KB" );
    2628    }
    2729
     
    5153
    5254        sprintf(temporary, "%d", codeSizeOfGlobalProc/1024 );
    53         Smoothie::Logger::Put( (string)"グローバル関数のコードサイズ総量: " + temporary + "KB" );
     55        trace_for_size( (string)"グローバル関数のコードサイズ総量: " + temporary + "KB" );
    5456        sprintf(temporary, "%d", codeSizeOfClassMethod/1024 );
    55         Smoothie::Logger::Put( (string)"クラスメソッドのコードサイズ総量: " + temporary + "KB" );
     57        trace_for_size( (string)"クラスメソッドのコードサイズ総量: " + temporary + "KB" );
    5658    }
    5759
     
    9294
    9395        sprintf(temporary, "%d", codeSizeOfEnum/1024 );
    94         Smoothie::Logger::Put( (string)"Enumのコードサイズ総量: " + temporary + "KB" );
     96        trace_for_size( (string)"Enumのコードサイズ総量: " + temporary + "KB" );
    9597    }
    9698
    97     Smoothie::Logger::Put( "\n\n" );
     99    trace_for_size( "\n\n" );
    98100
    99101    {
     
    130132                lstrcat( temporary, "------------------------------------------------------------------\n" );
    131133                lstrcat( temporary, "\n" );
    132                 Smoothie::Logger::Put( temporary );
     134                trace_for_size( temporary );
    133135            }
    134136        }
Note: See TracChangeset for help on using the changeset viewer.