Remove legacy upTime() function

This commit is contained in:
Vinnie Falco
2013-05-25 15:49:12 -07:00
parent fb8c370d70
commit 4e8d4c28c2
12 changed files with 43 additions and 36 deletions

View File

@@ -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>

View File

@@ -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