Version: 6.3.1
Defines | Functions

src/ParaMEDMEMTest/test_perf.cxx File Reference

#include <time.h>
#include <sys/times.h>
#include <sys/time.h>
#include "ParaMEDMEMTest.hxx"
#include <cppunit/TestAssert.h>
#include "CommInterface.hxx"
#include "ProcessorGroup.hxx"
#include "MPIProcessorGroup.hxx"
#include "Topology.hxx"
#include "DEC.hxx"
#include "MxN_Mapping.hxx"
#include "InterpKernelDEC.hxx"
#include "ParaMESH.hxx"
#include "ParaFIELD.hxx"
#include "ComponentTopology.hxx"
#include "ICoCoMEDField.hxx"
#include "MEDLoader.hxx"
#include <string>
#include <cstring>
#include <unistd.h>
Include dependency graph for test_perf.cxx:

Defines

#define ENABLE_FAULTS
#define ENABLE_FORCED_FAILURES
#define CLK_TCK   sysconf(_SC_CLK_TCK);

Functions

void testInterpKernelDEC_2D (const string &filename1, const string &meshname1, const string &filename2, const string &meshname2, int nproc_source, double epsilon, bool tri, bool all)
void get_time (float *telps, float *tuser, float *tsys, float *tcpu)
int main (int argc, char *argv[])

Define Documentation

#define ENABLE_FAULTS
#define ENABLE_FORCED_FAILURES
#define CLK_TCK   sysconf(_SC_CLK_TCK);

Function Documentation

void testInterpKernelDEC_2D ( const string &  filename1,
const string &  meshname1,
const string &  filename2,
const string &  meshname2,
int  nproc_source,
double  epsilon,
bool  tri,
bool  all 
)

References ParaMEDMEM.DisjointDEC.attachLocalField(), test_NonCoincidentDEC.comptopo, ParaMEDMEM.ProcessorGroup.containsMyRank(), INTERP_KERNEL.Convex, test_NonCoincidentDEC.dec, ParaMEDMEM.RefCountObject.decrRef(), test_NonCoincidentDEC.field_after_int, test_NonCoincidentDEC.field_before_int, test_NonCoincidentDEC.filename_xml1, test_NonCoincidentDEC.filename_xml2, get_time(), ParaMEDMEM.MEDCouplingFieldDouble.getArray(), ParaMEDMEM.ParaMESH.getCellMesh(), ParaMEDMEM.ParaFIELD.getField(), ParaMEDMEM.MEDCouplingUMesh.getNumberOfCells(), ParaMEDMEM.DataArrayDouble.getPointer(), ParaMEDMEM.ParaFIELD.getVolumeIntegral(), test_NonCoincidentDEC.icocofield, ParaMEDMEM.RefCountObject.incrRef(), test_NonCoincidentDEC.interface, MED_test2.mesh, test_MEDSPLITTER.meshname, test_NonCoincidentDEC.nb_local, ParaMEDMEM.NO_TIME, test_NonCoincidentDEC.nproc_source, ParaMEDMEM.ON_CELLS, test_NonCoincidentDEC.parafield, test_NonCoincidentDEC.paramesh, ParaMEDMEM.PointToPoint, test_NonCoincidentDEC.procs_source, test_NonCoincidentDEC.procs_target, test_NonCoincidentDEC.rank, MEDLoader.ReadUMeshFromFile(), ParaMEDMEM.InterpKernelDEC.recvData(), ParaMEDMEM.InterpKernelDEC.sendData(), ParaMEDMEM.DECOptions.setAllToAllMethod(), ParaMEDMEM.DECOptions.setForcedRenormalization(), INTERP_KERNEL.InterpolationOptions.setIntersectionType(), test_NonCoincidentDEC.size, test_NonCoincidentDEC.source_group, ParaMEDMEM.InterpKernelDEC.synchronize(), test_NonCoincidentDEC.target_group, INTERP_KERNEL.Triangulation, and batchmode_medcorba_test.value.

void get_time ( float *  telps,
float *  tuser,
float *  tsys,
float *  tcpu 
)

References CLK_TCK.

int main ( int  argc,
char *  argv[] 
)
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS