[atom_cpu_profiler_gem_promotion] updated namespaces for moved files

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
monroegm-disable-blank-issue-2
AMZN-ScottR 4 years ago
parent 6946145b23
commit d193dc40a9

@ -15,10 +15,8 @@
#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,10 +15,8 @@
#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;
// --- CpuProfiler --- // --- CpuProfiler ---
@ -444,5 +442,4 @@ namespace AZ
; ;
} }
} }
} // namespace RHI } // namespace Profiler
} // namespace AZ

@ -20,10 +20,8 @@
#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.
//! The CpuProfilerImpl is able to request the cached time regions from the CpuTimingLocalStorage. //! The CpuProfilerImpl is able to request the cached time regions from the CpuTimingLocalStorage.
@ -184,5 +182,4 @@ namespace AZ
AZStd::vector<CpuProfilingStatisticsSerializerEntry> m_cpuProfilingStatisticsSerializerEntries; AZStd::vector<CpuProfilingStatisticsSerializerEntry> m_cpuProfilingStatisticsSerializerEntries;
}; };
}; // namespace RHI }; // namespace Profiler
}; // namespace AZ

@ -25,10 +25,8 @@
#include <AzCore/std/time.h> #include <AzCore/std/time.h>
namespace AZ namespace Profiler
{ {
namespace Render
{
namespace CpuProfilerImGuiHelper namespace CpuProfilerImGuiHelper
{ {
inline float TicksToMs(double ticks) inline float TicksToMs(double ticks)
@ -1155,5 +1153,4 @@ namespace AZ
} }
return threadString; return threadString;
} }
} // namespace Render } // namespace Profiler
} // namespace AZ

@ -15,10 +15,8 @@
#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"

Loading…
Cancel
Save