File: BLMpi.w

package info (click to toggle)
ccseapps 2.5-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 16,812 kB
  • sloc: cpp: 117,349; fortran: 86,921; ansic: 13,083; sh: 633; perl: 492; makefile: 110; csh: 56
file content (10 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <mpi.h>
#include <BoxLib/Profiler.H>

{{fnall fn_name MPI_Type_count MPI_Wtime }}
  BL_PROFILE_TIMER( bltimer, "{{fn_name}}()" );	
  BL_PROFILE_START( bltimer );
  {{callfn}}
  BL_PROFILE_STOP( bltimer );
{{endfnall}}