[atom_cpu_profiler_gem_promotion] updated namespaces for moved files

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
AMZN-ScottR
2021-10-11 16:46:59 -07:00
parent 6946145b23
commit d193dc40a9
5 changed files with 1713 additions and 1729 deletions
+2 -6
View File
@@ -15,9 +15,7 @@
#include <AzCore/std/containers/unordered_map.h> #include <AzCore/std/containers/unordered_map.h>
#include <AzCore/std/string/string.h> #include <AzCore/std/string/string.h>
namespace AZ namespace Profiler
{
namespace RHI
{ {
//! Structure that is used to cache a timed region into the thread's local storage. //! Structure that is used to cache a timed region into the thread's local storage.
struct CachedTimeRegion struct CachedTimeRegion
@@ -82,6 +80,4 @@ namespace AZ
virtual bool IsProfilerEnabled() const = 0 ; virtual bool IsProfilerEnabled() const = 0 ;
}; };
} // namespace Profiler
} // namespace RPI
} // namespace AZ
@@ -15,9 +15,7 @@
#include <AzCore/Statistics/StatisticalProfilerProxy.h> #include <AzCore/Statistics/StatisticalProfilerProxy.h>
#include <Atom/RHI/RHIUtils.h> #include <Atom/RHI/RHIUtils.h>
namespace AZ namespace Profiler
{
namespace RHI
{ {
thread_local CpuTimingLocalStorage* CpuProfilerImpl::ms_threadLocalStorage = nullptr; thread_local CpuTimingLocalStorage* CpuProfilerImpl::ms_threadLocalStorage = nullptr;
@@ -444,5 +442,4 @@ namespace AZ
; ;
} }
} }
} // namespace RHI } // namespace Profiler
} // namespace AZ
+2 -5
View File
@@ -20,9 +20,7 @@
#include <AzCore/std/smart_ptr/intrusive_refcount.h> #include <AzCore/std/smart_ptr/intrusive_refcount.h>
namespace AZ namespace Profiler
{
namespace RHI
{ {
//! Thread local class to keep track of the thread's cached time regions. //! Thread local class to keep track of the thread's cached time regions.
//! Each thread keeps track of its own time regions, which is communicated from the CpuProfilerImpl. //! Each thread keeps track of its own time regions, which is communicated from the CpuProfilerImpl.
@@ -184,5 +182,4 @@ namespace AZ
AZStd::vector<CpuProfilingStatisticsSerializerEntry> m_cpuProfilingStatisticsSerializerEntries; AZStd::vector<CpuProfilingStatisticsSerializerEntry> m_cpuProfilingStatisticsSerializerEntries;
}; };
}; // namespace RHI }; // namespace Profiler
}; // namespace AZ
@@ -25,9 +25,7 @@
#include <AzCore/std/time.h> #include <AzCore/std/time.h>
namespace AZ namespace Profiler
{
namespace Render
{ {
namespace CpuProfilerImGuiHelper namespace CpuProfilerImGuiHelper
{ {
@@ -1155,5 +1153,4 @@ namespace AZ
} }
return threadString; return threadString;
} }
} // namespace Render } // namespace Profiler
} // namespace AZ
+2 -5
View File
@@ -15,9 +15,7 @@
#include <Atom/RHI/CpuProfiler.h> #include <Atom/RHI/CpuProfiler.h>
namespace AZ namespace Profiler
{
namespace Render
{ {
//! Stores all the data associated with a row in the table. //! Stores all the data associated with a row in the table.
struct TableRow struct TableRow
@@ -225,7 +223,6 @@ namespace AZ
AZStd::unordered_set<AZStd::string> m_deserializedStringPool; AZStd::unordered_set<AZStd::string> m_deserializedStringPool;
AZStd::unordered_set<RHI::CachedTimeRegion::GroupRegionName, RHI::CachedTimeRegion::GroupRegionName::Hash> m_deserializedGroupRegionNamePool; AZStd::unordered_set<RHI::CachedTimeRegion::GroupRegionName, RHI::CachedTimeRegion::GroupRegionName::Hash> m_deserializedGroupRegionNamePool;
}; };
} // namespace Render } // namespace Profiler
} // namespace AZ
#include "ImGuiCpuProfiler.inl" #include "ImGuiCpuProfiler.inl"