Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-11 08:41:05

0001 #!/usr/bin/env python
0002 # Licensed under the Apache License, Version 2.0 (the "License");
0003 # you may not use this file except in compliance with the License.
0004 # You may obtain a copy of the License at
0005 # http://www.apache.org/licenses/LICENSE-2.0
0006 #
0007 # Authors:
0008 # - Paul Nilsson, paul.nilsson@cern.ch, 2018-2021
0009 
0010 
0011 def allow_memory_usage_verifications():
0012     """
0013     Should memory usage verifications be performed?
0014 
0015     :return: boolean.
0016     """
0017 
0018     return False
0019 
0020 
0021 def memory_usage(job):
0022     """
0023     Perform memory usage verification.
0024 
0025     :param job: job object
0026     :return: exit code (int), diagnostics (string).
0027     """
0028 
0029     exit_code = 0
0030     diagnostics = ""
0031 
0032     return exit_code, diagnostics