version 1.2, 2002/04/22 17:26:30
|
version 1.5, 2002/07/26 20:01:19
|
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
|
// The Open Group, Tivoli Systems |
// | // |
// 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 |
|
|
// Author: Arthur Pichlkostner | // Author: Arthur Pichlkostner |
// (checked in: Markus Mueller sedgewick_de@yahoo.de) | // (checked in: Markus Mueller sedgewick_de@yahoo.de) |
// | // |
|
// Modified By: |
|
// |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef STATISTICAL_DATA_H | #ifndef STATISTICAL_DATA_H |
|
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/CIMProperty.h> | #include <Pegasus/Common/CIMProperty.h> |
#include <Pegasus/Common/CIMInstance.h> | #include <Pegasus/Common/CIMInstance.h> |
|
#include <Pegasus/Common/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
#define STAT_SERVEREND \ | #define STAT_SERVEREND \ |
response->endServer(); \ | response->endServer(); \ |
Array<Sint8> timeOut; \ | Array<Sint8> timeOut; \ |
timeOut.reserve(10); \ |
timeOut.reserveCapacity(10); \ |
timeOut << response->getTotalTime(); \ | timeOut << response->getTotalTime(); \ |
message.insert(30, timeOut.getData(), timeOut.size()); \ | message.insert(30, timeOut.getData(), timeOut.size()); \ |
Uint32 statType = (response->getType() > CIM_GET_CLASS_RESPONSE_MESSAGE)? \ | Uint32 statType = (response->getType() > CIM_GET_CLASS_RESPONSE_MESSAGE)? \ |