version 1.7, 2004/08/12 10:47:43
|
version 1.10, 2005/03/10 02:02:13
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
} | } |
| |
void StatisticalData::addToValue(Sint64 value, Uint16 type, Uint32 t){ | void StatisticalData::addToValue(Sint64 value, Uint16 type, Uint32 t){ |
|
if(copyGSD){ |
AutoMutex autoMut(_mutex); | AutoMutex autoMut(_mutex); |
switch(t){ | switch(t){ |
case SERVER: numCalls[type] += 1; | case SERVER: numCalls[type] += 1; |
|
|
break; | break; |
} | } |
} | } |
|
} |
| |
void StatisticalData::setCopyGSD(Boolean flag) | void StatisticalData::setCopyGSD(Boolean flag) |
{ | { |