Skip to content

Commit

Permalink
Print custom scheduling stuff only when debug is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosT committed Sep 5, 2024
1 parent e864cd2 commit a68af02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions oar/kao/custom_scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def e_compact(session, itvs_slots, hy_res_rqts, hy, beginning_slotset, reverse=T
# import time
# start_time = time.time()

logger.info(__file__)
logger.debug(__file__)
config, db = init_oar(no_db=False)
chars = get_nodes_characterization(session)

Expand Down Expand Up @@ -124,7 +124,7 @@ def e_compact(session, itvs_slots, hy_res_rqts, hy, beginning_slotset, reverse=T
reverse=reverse
)

logger.info(sorted_agg)
logger.debug(sorted_agg)

hy_nodes = list(map(lambda x: x[0],sorted_agg))

Expand Down Expand Up @@ -189,7 +189,7 @@ def e_spread(session, itvs_slots, hy_res_rqts, hy, beginning_slotset, reverse=Tr
avail_cores = soc & itvs_cts_slots
itvs_cts_slots -= ProcSet(*avail_cores[int(len(soc) / 2) : len(soc)])

logger.info(__file__)
logger.debug(__file__)
config, db = init_oar(no_db=False)
chars = get_nodes_characterization(session)

Expand Down Expand Up @@ -223,7 +223,7 @@ def e_spread(session, itvs_slots, hy_res_rqts, hy, beginning_slotset, reverse=Tr
reverse=reverse
)

logger.info(sorted_agg)
logger.debug(sorted_agg)

hy_nodes = list(map(lambda x: x[0],sorted_agg))

Expand Down

0 comments on commit a68af02

Please sign in to comment.