#include <stdio.h>
#include <stdlib.h>
#include "perftype.hh"
#include "rcs_prnt.hh"
#include "cms.hh"
#include "nml.hh"
Include dependency graph for perftype.cc:
Go to the source code of this file.
Functions | |
void | corrected_free (void *ptr) |
int | perf_types_format (NMLTYPE type, void *buffer, CMS *cms) |
void | delete_test_msg_buffer () |
void | set_real_test_msg_size (long size) |
Variables | |
unsigned int | real_test_msg_size = 0 |
unsigned int | test_msg_buffer_size = 0 |
void * | test_msg_buffer = NULL |
|
Definition at line 20 of file perftype.cc. Referenced by delete_test_msg_buffer(), NML_PERFORMANCE_TEST_MSG::operator delete(), NML_PERFORMANCE_TEST_MSG::operator new(), CMS_XDR_UPDATER::set_encoded_data(), CMS_XDR_UPDATER::update(), CMS_ASCII_UPDATER::~CMS_ASCII_UPDATER(), CMS_DISPLAY_ASCII_UPDATER::~CMS_DISPLAY_ASCII_UPDATER(), and CMS_XDR_UPDATER::~CMS_XDR_UPDATER().
00021 { 00022 #ifdef sparcworks_sun4 00023 free ((char *) ptr); 00024 #else 00025 free (ptr); 00026 #endif 00027 } |
|
Definition at line 30 of file perftype.cc. 00031 { 00032 switch (type) 00033 { 00034 case NML_PERFORMANCE_TEST_MSG_TYPE: 00035 ((NML_PERFORMANCE_TEST_MSG *) buffer)->update (cms); 00036 break; 00037 default: 00038 rcs_print_error ("perf_types_format: Unknown Type.(%d) (mode = %d)\n", 00039 type, cms->mode); 00040 return (-1); 00041 } 00042 return (0); 00043 } |
|
Definition at line 151 of file perftype.cc. 00152 { 00153 if (NULL != test_msg_buffer) 00154 { 00155 corrected_free (test_msg_buffer); 00156 test_msg_buffer = NULL; 00157 } 00158 } |
|
Definition at line 161 of file perftype.cc. 00162 { 00163 real_test_msg_size = size; 00164 } |
|
Definition at line 12 of file perftype.cc. |
|
Definition at line 13 of file perftype.cc. |
|
Definition at line 14 of file perftype.cc. |