Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:00:30

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #ifndef GAUDIKERNEL_ICPUCRUNCHSVC_H
0012 #define GAUDIKERNEL_ICPUCRUNCHSVC_H 1
0013 
0014 #include "GaudiKernel/IService.h"
0015 #include <chrono>
0016 
0017 class GAUDI_API ICPUCrunchSvc : virtual public IService {
0018 
0019 public:
0020   virtual ~ICPUCrunchSvc(){};
0021 
0022   DeclareInterfaceID( ICPUCrunchSvc, 1, 0 );
0023 
0024 public:
0025   virtual std::chrono::milliseconds crunch_for( const std::chrono::milliseconds& ) const = 0;
0026 };
0027 
0028 #endif