Coda Distributed File System
Classes | Macros | Functions
rvm_statistics.h File Reference
#include <stdio.h>
Include dependency graph for rvm_statistics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rvm_statistics_t
 

Macros

#define RVM_STATISTICS_VERSION   "RVM Statistics Version 1.1 8 Dec 1992"
 
#define flush_times_len   10 /* length of flush timing vectors */
 
#define flush_times_dist   25, 50, 100, 250, 500, 1000, 2500, 5000, 10000
 
#define truncation_times_len   5 /* length of truncation timing vectors */
 
#define truncation_times_dist
 
#define range_lengths_len   13 /* length of range length histogram */
 
#define range_lengths_dist
 
#define range_overlaps_len    13 /* length of overlaps eliminated by range coalesce */
 
#define range_overlaps_dist
 
#define trans_overlaps_len    13 /* length of overlaps eliminated by transaction coalesce */
 
#define trans_overlaps_dist
 
#define range_elims_len   6 /* ranges eliminated from log by range coalesce */
 
#define range_elims_dist   /* number of ranges */ 0, 5, 10, 50, 100
 
#define trans_elims_len   6 /* ranges eliminated from log by trans coalesce */
 
#define trans_elims_dist   /* number of ranges */ 0, 5, 10, 50, 100
 
#define trans_coalesces_len   6 /* transactions coalesced by trans coalesce */
 
#define trans_coalesces_dist   /* number of transactions */ 0, 5, 10, 50, 100
 
#define RVM_STATISTICS(statistics)    rvm_statistics(RVM_STATISTICS_VERSION, (statistics))
 

Functions

rvm_return_t rvm_statistics (const char *version, rvm_statistics_t *statistics)
 
rvm_statistics_trvm_malloc_statistics (void)
 
void rvm_init_statistics (rvm_statistics_t *statistics)
 
rvm_statistics_trvm_copy_statistics (rvm_statistics_t *statistics)
 
void rvm_free_statistics (rvm_statistics_t *statistics)
 
rvm_return_t rvm_print_statistics (rvm_statistics_t *statistics, FILE *out_stream)
 

Macro Definition Documentation

◆ flush_times_dist

#define flush_times_dist   25, 50, 100, 250, 500, 1000, 2500, 5000, 10000

◆ flush_times_len

#define flush_times_len   10 /* length of flush timing vectors */

◆ range_elims_dist

#define range_elims_dist   /* number of ranges */ 0, 5, 10, 50, 100

◆ range_elims_len

#define range_elims_len   6 /* ranges eliminated from log by range coalesce */

◆ range_lengths_dist

#define range_lengths_dist
Value:
/* range lengths in bytes */ \
0, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096

◆ range_lengths_len

#define range_lengths_len   13 /* length of range length histogram */

◆ range_overlaps_dist

#define range_overlaps_dist
Value:
/* range lengths in bytes */ \
0, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096

◆ range_overlaps_len

#define range_overlaps_len    13 /* length of overlaps eliminated by range coalesce */

◆ RVM_STATISTICS

#define RVM_STATISTICS (   statistics)     rvm_statistics(RVM_STATISTICS_VERSION, (statistics))

◆ RVM_STATISTICS_VERSION

#define RVM_STATISTICS_VERSION   "RVM Statistics Version 1.1 8 Dec 1992"

◆ trans_coalesces_dist

#define trans_coalesces_dist   /* number of transactions */ 0, 5, 10, 50, 100

◆ trans_coalesces_len

#define trans_coalesces_len   6 /* transactions coalesced by trans coalesce */

◆ trans_elims_dist

#define trans_elims_dist   /* number of ranges */ 0, 5, 10, 50, 100

◆ trans_elims_len

#define trans_elims_len   6 /* ranges eliminated from log by trans coalesce */

◆ trans_overlaps_dist

#define trans_overlaps_dist
Value:
/* range lengths in bytes */ \
0, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096

◆ trans_overlaps_len

#define trans_overlaps_len    13 /* length of overlaps eliminated by transaction coalesce */

◆ truncation_times_dist

#define truncation_times_dist
Value:
/* timing distribution in seconds */ \
1, 10, 100, 500

◆ truncation_times_len

#define truncation_times_len   5 /* length of truncation timing vectors */

Function Documentation

◆ rvm_copy_statistics()

rvm_statistics_t * rvm_copy_statistics ( rvm_statistics_t statistics)

◆ rvm_free_statistics()

void rvm_free_statistics ( rvm_statistics_t statistics)

◆ rvm_init_statistics()

void rvm_init_statistics ( rvm_statistics_t statistics)

◆ rvm_malloc_statistics()

rvm_statistics_t * rvm_malloc_statistics ( void  )

◆ rvm_print_statistics()

rvm_return_t rvm_print_statistics ( rvm_statistics_t statistics,
FILE *  out_stream 
)

◆ rvm_statistics()

rvm_return_t rvm_statistics ( const char *  version,
rvm_statistics_t statistics 
)