Profiler: Move BlockStat and ProfileStats structures into the Profiler namespace
These should be part of the namespaced API and not be sitting in the global namespace.
This commit is contained in:
1 parent
9dbc760bb7
commit
a0f943178b
3 files changed
+12
-8
No files matched your search
@@ -78,7 +78,7 @@ CPUCoreBase* GetCore()
|
||||
|
||||
void WriteProfileResults(const std::string& filename)
|
||||
{
|
||||
ProfileStats prof_stats;
|
||||
Profiler::ProfileStats prof_stats;
|
||||
GetProfileResults(&prof_stats);
|
||||
|
||||
File::IOFile f(filename, "w");
|
||||
@@ -101,7 +101,7 @@ void WriteProfileResults(const std::string& filename)
|
||||
}
|
||||
}
|
||||
|
||||
void GetProfileResults(ProfileStats* prof_stats)
|
||||
void GetProfileResults(Profiler::ProfileStats* prof_stats)
|
||||
{
|
||||
// Can't really do this with no g_jit core available
|
||||
if (!g_jit)
|
||||
|
||||
Reference in new issue
Block a user