COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/test/time_measure_test.cc @ 1360:4338e4280f67

Last change on this file since 1360:4338e4280f67 was 1359:1581f961cfaa, checked in by Alpar Juttner, 20 years ago

Correct the english name of EGRES.

File size: 902 bytes
RevLine 
[906]1/* -*- C++ -*-
[921]2 * src/test/time_measure_test.cc - Part of LEMON, a generic C++ optimization library
[906]3 *
[1164]4 * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
[1359]5 * (Egervary Research Group on Combinatorial Optimization, EGRES).
[906]6 *
7 * Permission to use, modify and distribute this software is granted
8 * provided that this copyright notice appears in all copies. For
9 * precise terms see the accompanying LICENSE file.
10 *
11 * This software is provided "AS IS" with no warranty of any kind,
12 * express or implied, and with no claim as to its suitability for any
13 * purpose.
14 *
15 */
16
[921]17#include <lemon/time_measure.h>
[545]18
19///\file \brief Test cases for time_measure.h
20///
21///\todo To be extended
22
23
[921]24using namespace lemon;
[545]25
26int main()
27{
28  Timer T;
[1069]29  while(T.getRealTime()<1.0) ;
[545]30  std::cout << T << '\n';
31  T.reset();
[1069]32  while(T.getRealTime()<2.0) ;
[545]33  std::cout << T << '\n';
[567]34 
[566]35  return 0;
[545]36}
Note: See TracBrowser for help on using the repository browser.