~ubuntu-branches/ubuntu/oneiric/code-saturne/oneiric

« back to all changes in this revision

Viewing changes to include/base/cs_benchmark.h

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-11-02 23:21:17 UTC
  • Revision ID: james.westby@ubuntu.com-20091102232117-9brxj2l5e33ie45a
Tags: upstream-2.0.0.beta2
ImportĀ upstreamĀ versionĀ 2.0.0.beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*============================================================================
 
2
 *
 
3
 *     This file is part of the Code_Saturne Kernel, element of the
 
4
 *     Code_Saturne CFD tool.
 
5
 *
 
6
 *     Copyright (C) 1998-2008 EDF S.A., France
 
7
 *
 
8
 *     contact: saturne-support@edf.fr
 
9
 *
 
10
 *     The Code_Saturne Kernel is free software; you can redistribute it
 
11
 *     and/or modify it under the terms of the GNU General Public License
 
12
 *     as published by the Free Software Foundation; either version 2 of
 
13
 *     the License, or (at your option) any later version.
 
14
 *
 
15
 *     The Code_Saturne Kernel is distributed in the hope that it will be
 
16
 *     useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 
17
 *     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 *     GNU General Public License for more details.
 
19
 *
 
20
 *     You should have received a copy of the GNU General Public License
 
21
 *     along with the Code_Saturne Kernel; if not, write to the
 
22
 *     Free Software Foundation, Inc.,
 
23
 *     51 Franklin St, Fifth Floor,
 
24
 *     Boston, MA  02110-1301  USA
 
25
 *
 
26
 *============================================================================*/
 
27
 
 
28
#ifndef __CS_BENCHMARK_H__
 
29
#define __CS_BENCHMARK_H__
 
30
 
 
31
/*============================================================================
 
32
 * Low-level operator benchmarking
 
33
 *============================================================================*/
 
34
 
 
35
/*----------------------------------------------------------------------------
 
36
 *  Local headers
 
37
 *----------------------------------------------------------------------------*/
 
38
 
 
39
#include "cs_base.h"
 
40
 
 
41
/*----------------------------------------------------------------------------*/
 
42
 
 
43
BEGIN_C_DECLS
 
44
 
 
45
/*============================================================================
 
46
 * Macro definitions
 
47
 *============================================================================*/
 
48
 
 
49
/*============================================================================
 
50
 * Type definitions
 
51
 *============================================================================*/
 
52
 
 
53
/*=============================================================================
 
54
 * Public function prototypes
 
55
 *============================================================================*/
 
56
 
 
57
/*----------------------------------------------------------------------------
 
58
 * Run simple benchmarks.
 
59
 *
 
60
 * parameters:
 
61
 *   mpi_trace_mode  --> indicates if timing mode (0) or MPI trace-friendly
 
62
 *                       mode (1) is to be used
 
63
 *----------------------------------------------------------------------------*/
 
64
 
 
65
void
 
66
cs_benchmark(int  mpi_trace_mode);
 
67
 
 
68
/*----------------------------------------------------------------------------*/
 
69
 
 
70
END_C_DECLS
 
71
 
 
72
#endif /* __CS_BENCHMARK_H__ */