GADGET-4
test_io_bandwidth Class Reference

#include <test_io_bandwidth.h>

Inherits io_streamcount, and setcomm.

Inherited by sim.

Public Member Functions

 test_io_bandwidth (MPI_Comm comm)
 
void measure_io_bandwidth (void)
 
- Public Member Functions inherited from io_streamcount
size_t my_fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream)
 A wrapper for the fwrite() function. More...
 
size_t my_fread (void *ptr, size_t size, size_t nmemb, FILE *stream)
 A wrapper for the fread() function. More...
 
void reset_io_byte_count (void)
 
long long get_io_byte_count (void)
 
- Public Member Functions inherited from setcomm
 setcomm (MPI_Comm Comm)
 
 setcomm (const char *str)
 
void initcomm (MPI_Comm Comm)
 
void mpi_printf (const char *fmt,...)
 
void determine_compute_nodes (void)
 

Additional Inherited Members

- Public Attributes inherited from io_streamcount
long long byte_count = 0
 
- Public Attributes inherited from setcomm
MPI_Comm Communicator
 
int NTask
 
int ThisTask
 
int PTask
 
int ThisNode
 
int NumNodes = 0
 
int TasksInThisNode
 
int RankInThisNode
 
int MinTasksPerNode
 
int MaxTasksPerNode
 
long long MemoryOnNode
 
long long SharedMemoryOnNode
 

Detailed Description

Definition at line 26 of file test_io_bandwidth.h.

Constructor & Destructor Documentation

◆ test_io_bandwidth()

test_io_bandwidth ( MPI_Comm  comm)
inline

Definition at line 29 of file test_io_bandwidth.h.

Member Function Documentation

◆ measure_io_bandwidth()

void measure_io_bandwidth ( void  )

Definition at line 36 of file test_io_bandwidth.cc.


The documentation for this class was generated from the following files: