alpar@482: /* -*- mode: C++; indent-tabs-mode: nil; -*- alpar@482: * alpar@482: * This file is a part of LEMON, a generic C++ optimization library. alpar@482: * alpar@1092: * Copyright (C) 2003-2013 alpar@482: * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport alpar@482: * (Egervary Research Group on Combinatorial Optimization, EGRES). alpar@482: * alpar@482: * Permission to use, modify and distribute this software is granted alpar@482: * provided that this copyright notice appears in all copies. For alpar@482: * precise terms see the accompanying LICENSE file. alpar@482: * alpar@482: * This software is provided "AS IS" with no warranty of any kind, alpar@482: * express or implied, and with no claim as to its suitability for any alpar@482: * purpose. alpar@482: * alpar@482: */ alpar@482: deba@529: #ifndef LEMON_BITS_WINDOWS_H deba@529: #define LEMON_BITS_WINDOWS_H alpar@482: alpar@1143: #include alpar@482: #include alpar@482: alpar@482: namespace lemon { alpar@482: namespace bits { alpar@482: void getWinProcTimes(double &rtime, alpar@482: double &utime, double &stime, alpar@482: double &cutime, double &cstime); alpar@482: std::string getWinFormattedDate(); alpar@482: int getWinRndSeed(); deba@979: deba@979: class WinLock { deba@979: public: deba@979: WinLock(); deba@979: ~WinLock(); deba@979: void lock(); alpar@1143: void unlock();\ deba@979: private: deba@979: void *_repr; deba@979: }; alpar@482: } alpar@482: } alpar@482: alpar@482: #endif