mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove legacy upTime() function
This commit is contained in:
@@ -224,8 +224,10 @@ void TaggedCache<c_Key, c_Data, Timer>::sweep()
|
||||
|
||||
assert(cc == mCacheCount);
|
||||
if (ShouldLog (lsTRACE, TaggedCacheLog) && (mapRemovals || cacheRemovals))
|
||||
{
|
||||
WriteLog (lsTRACE, TaggedCacheLog) << mName << ": cache = " << mCache.size() << "-" << cacheRemovals <<
|
||||
", map-=" << mapRemovals;
|
||||
}
|
||||
}
|
||||
|
||||
template<typename c_Key, typename c_Data, class Timer>
|
||||
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
// VFALCO: DEPRECATED, Use a memory barrier instead of forcing a cache line
|
||||
int m_pad1; // make sure m_uptimeSeconds fits in its own cache line
|
||||
int m_pad1; // make sure m_elapsedTime fits in its own cache line
|
||||
int m_elapsedTime;
|
||||
int m_pad2;
|
||||
|
||||
@@ -52,11 +52,4 @@ private:
|
||||
bool m_isUpdatingManually;
|
||||
};
|
||||
|
||||
// VFALCO: DEPRECATED, legacy compatibility function
|
||||
//
|
||||
inline int upTime ()
|
||||
{
|
||||
return UptimeTimer::getInstance ().getElapsedSeconds ();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user