mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10874] Update ACE to v5.8.3
(based on zergtmn's repo commit 3a8c259) (based on zergtmn's repo commit 946c1a8) Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
c38c876b1d
commit
b8d773091a
343 changed files with 3060 additions and 7431 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// $Id: Metrics_Cache_T.cpp 80826 2008-03-04 14:51:23Z wotte $
|
||||
// $Id: Metrics_Cache_T.cpp 92090 2010-09-29 14:10:45Z johnnyw $
|
||||
|
||||
#ifndef ACE_METRICS_CACHE_CPP
|
||||
#define ACE_METRICS_CACHE_CPP
|
||||
|
|
@ -15,8 +15,7 @@
|
|||
#include "ace/Metrics_Cache_T.inl"
|
||||
#endif /* __ACE_INLINE__ */
|
||||
|
||||
// Const strings for timeprobe event type descriptions.
|
||||
|
||||
/// Const strings for timeprobe event type descriptions.
|
||||
static const char * event_description_strings [] =
|
||||
{
|
||||
"start",
|
||||
|
|
@ -169,7 +168,7 @@ flush_ACE_Metrics_Timeprobe ()
|
|||
template <class ACE_LOCK, class ALLOCATOR>
|
||||
ACE_Metrics_Cache<ACE_LOCK, ALLOCATOR>::
|
||||
ACE_Metrics_Cache (u_long table_size,
|
||||
u_long number_of_probes,
|
||||
u_long,
|
||||
ALLOCATOR *alloc)
|
||||
: probe_set_size_ (0),
|
||||
enqueue_names_ (0),
|
||||
|
|
@ -183,7 +182,6 @@ ACE_Metrics_Cache (u_long table_size,
|
|||
metrics_enabled_(1),
|
||||
allocator_ (alloc)
|
||||
{
|
||||
ACE_UNUSED_ARG(number_of_probes);
|
||||
// Initialize probe and count arrays.
|
||||
|
||||
// Ensure that the high res timer global scale factor
|
||||
|
|
@ -207,7 +205,6 @@ ACE_Metrics_Cache<ACE_LOCK, ALLOCATOR>::~ACE_Metrics_Cache ()
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
// Obtain an allocator pointer correctly thunked for the current
|
||||
// address space. If there is no allocator stored in the instance,
|
||||
// the singleton allocator in the current process is used.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue