Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Benchmark.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the
00004  *cr                        University of Illinois
00005  *cr                         All Rights Reserved
00006  *cr
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: Benchmark.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.9 $      $Date: 2020/07/24 19:26:42 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *
00019  * Various CPU/memory subsystem benchmarking routines.
00020  * The peak performance numbers achieved within a VMD build can be 
00021  * used to determine how well the VMD build was optimized, the 
00022  * performance of the host CPU/memory systems, SMP scaling efficiency, etc.
00023  *
00024  * The streaming memory bandwidth tests are an alternative implementation 
00025  * of McCalpin's STREAM benchmark.
00026  *
00027  ***************************************************************************/
00028 
00029 
00031 int stream_bench(int N, double *time, double *mbsec);
00032 
00035 void vmdbench_minmax_1fv(int sz, int reps, double &runtime, double &bwmbsec);
00036 
00037 void vmdbench_minmaxmean_1fv(int sz, int reps,
00038                              double &runtime, double &bwmbsec);
00039 
00040 void vmdbench_minmax_3fv(int sz, int reps, double &runtime, double &bwmbsec);
00041 
00042 void vmdbench_analyze_selection(int sz, int reps,
00043                                 double &runtime, double &bwmbsec);
00044 
00045 

Generated on Fri Nov 8 02:43:57 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002