diff options
| author | nakeee <nakeee@gmail.com> | 2008-11-23 09:14:40 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2008-11-23 09:14:40 +0000 |
| commit | 3e7c80ab69df8acf3e3c6d3771ec0e4f09ee271c (patch) | |
| tree | 822e37ccf7e0bc0c2dd06f41540967e80b423532 /Source/Core | |
| parent | 09b6aaaf8425408891381d4a81ca2269a57c71bf (diff) | |
moved logs to log dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1268 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/PowerPC/PPCTables.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/Core/Src/PowerPC/PPCTables.cpp b/Source/Core/Core/Src/PowerPC/PPCTables.cpp index a8e3bf8c0a..56a6fcbd19 100644 --- a/Source/Core/Core/Src/PowerPC/PPCTables.cpp +++ b/Source/Core/Core/Src/PowerPC/PPCTables.cpp @@ -703,10 +703,11 @@ void PPCTables::PrintInstructionRunCounts() }
}
+//TODO move to LogManager
void PPCTables::LogCompiledInstructions()
{
static int time = 0;
- FILE *f = fopen(StringFromFormat("inst_log%i.txt", time).c_str(), "w");
+ FILE *f = fopen(StringFromFormat(FULL_LOGS_DIR "inst_log%i.txt", time).c_str(), "w");
for (int i = 0; i < m_numInstructions; i++)
{
if (m_allInstructions[i]->compileCount > 0) {
@@ -714,7 +715,7 @@ void PPCTables::LogCompiledInstructions() }
}
fclose(f);
- f = fopen(StringFromFormat("inst_not%i.txt", time).c_str(), "w");
+ f = fopen(StringFromFormat(FULL_LOGS_DIR "inst_not%i.txt", time).c_str(), "w");
for (int i = 0; i < m_numInstructions; i++)
{
if (m_allInstructions[i]->compileCount == 0) {
@@ -722,7 +723,7 @@ void PPCTables::LogCompiledInstructions() }
}
fclose(f);
- f = fopen(StringFromFormat("mcrfs_at.txt", time).c_str(), "w");
+ f = fopen(StringFromFormat(FULL_LOGS_DIR "mcrfs_at.txt", time).c_str(), "w");
for (size_t i = 0; i < rsplocations.size(); i++) {
fprintf(f, "mcrfs: %08x\n", rsplocations[i]);
}
|
