aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/METISLib/timing.c
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
committerTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
commit11b308e7363e937966b035b4891db32b4eece3bf (patch)
tree50ca4c9ad6f163ac4acb2bf505e64dfebed66947 /benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/METISLib/timing.c
parentbb820c116764d7a1b8e071137d32b74e7f34dd2f (diff)
integrating recent changes from fermi-test into fermi
(i'll use "fermi" for more disruptive changes to the pipeline model such as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805]
Diffstat (limited to 'benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/METISLib/timing.c')
-rw-r--r--benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/METISLib/timing.c74
1 files changed, 0 insertions, 74 deletions
diff --git a/benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/METISLib/timing.c b/benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/METISLib/timing.c
deleted file mode 100644
index a9d0910..0000000
--- a/benchmarks/CUDA/DG/3rdParty/ParMetis-3.1/METISLib/timing.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright 1997, Regents of the University of Minnesota
- *
- * timing.c
- *
- * This file contains routines that deal with timing Metis
- *
- * Started 7/24/97
- * George
- *
- * $Id: timing.c,v 1.1 2003/07/16 15:55:20 karypis Exp $
- *
- */
-
-#include <metis.h>
-
-
-/*************************************************************************
-* This function clears the timers
-**************************************************************************/
-void InitTimers(CtrlType *ctrl)
-{
- cleartimer(ctrl->TotalTmr);
- cleartimer(ctrl->InitPartTmr);
- cleartimer(ctrl->MatchTmr);
- cleartimer(ctrl->ContractTmr);
- cleartimer(ctrl->CoarsenTmr);
- cleartimer(ctrl->UncoarsenTmr);
- cleartimer(ctrl->RefTmr);
- cleartimer(ctrl->ProjectTmr);
- cleartimer(ctrl->SplitTmr);
- cleartimer(ctrl->SepTmr);
- cleartimer(ctrl->AuxTmr1);
- cleartimer(ctrl->AuxTmr2);
- cleartimer(ctrl->AuxTmr3);
- cleartimer(ctrl->AuxTmr4);
- cleartimer(ctrl->AuxTmr5);
- cleartimer(ctrl->AuxTmr6);
-}
-
-
-
-/*************************************************************************
-* This function prints the various timers
-**************************************************************************/
-void PrintTimers(CtrlType *ctrl)
-{
- printf("\nTiming Information -------------------------------------------------");
- printf("\n Multilevel: \t\t %7.3f", gettimer(ctrl->TotalTmr));
- printf("\n Coarsening: \t\t %7.3f", gettimer(ctrl->CoarsenTmr));
- printf("\n Matching: \t\t\t %7.3f", gettimer(ctrl->MatchTmr));
- printf("\n Contract: \t\t\t %7.3f", gettimer(ctrl->ContractTmr));
- printf("\n Initial Partition: \t %7.3f", gettimer(ctrl->InitPartTmr));
- printf("\n Construct Separator: \t %7.3f", gettimer(ctrl->SepTmr));
- printf("\n Uncoarsening: \t\t %7.3f", gettimer(ctrl->UncoarsenTmr));
- printf("\n Refinement: \t\t\t %7.3f", gettimer(ctrl->RefTmr));
- printf("\n Projection: \t\t\t %7.3f", gettimer(ctrl->ProjectTmr));
- printf("\n Splitting: \t\t %7.3f", gettimer(ctrl->SplitTmr));
- printf("\n AUX1: \t\t %7.3f", gettimer(ctrl->AuxTmr1));
- printf("\n AUX2: \t\t %7.3f", gettimer(ctrl->AuxTmr2));
- printf("\n AUX3: \t\t %7.3f", gettimer(ctrl->AuxTmr3));
- printf("\n********************************************************************\n");
-}
-
-
-/*************************************************************************
-* This function returns the seconds
-**************************************************************************/
-double seconds(void)
-{
- return((double) clock()/CLOCKS_PER_SEC);
-}
-
-