Skip to content
Snippets Groups Projects
Commit 7de79c54 authored by Maël Madon's avatar Maël Madon
Browse files

other version of SABjson with jobs stored within their corresponding sessions

parent 468f7f1d
Branches
Tags
No related merge requests found
{
"description": "Prototype for session-annotated Batsim JSON (SABjson) format. See diagram https://app.diagrams.net/#G1tbo7oHahsgxTmhICucCGam5XNtshOUOb.",
"command": "command used to generate the file. We can suppose that it's generated with arrival delimitation approach and threshold = 60mn = 3600s.",
"date": "data of generation of the file",
"nb_res": 4,
"version": 1,
"jobs": [
{
"id": 1,
"profile": "2400",
"res": 4,
"subtime": 0.0,
"walltime": 2592000.0,
"session": 1
},
{
"id": 2,
"profile": "9600",
"res": 4,
"subtime": 3000.0,
"walltime": 2592000.0,
"session": 1
},
{
"id": 3,
"profile": "13200",
"res": 4,
"subtime": 7800.0,
"walltime": 2592000.0,
"session": 2
},
{
"id": 4,
"profile": "3600",
"res": 4,
"subtime": 16200.0,
"walltime": 2592000.0,
"session": 3
},
{
"id": 5,
"profile": "5400",
"res": 4,
"subtime": 24000.0,
"walltime": 2592000.0,
"session": 4
},
{
"id": 6,
"profile": "4200",
"res": 4,
"subtime": 24600.0,
"walltime": 2592000.0,
"session": 4
}
],
"sessions": {
"1": {
"first_submit_time": 0.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"following_sessions": ["3"],
"nb_jobs": 2
},
"2": {
"first_submit_time": 7800.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"following_sessions": ["4"],
"nb_jobs": 1
},
"3": {
"first_submit_time": 16200.0,
"preceding_sessions": ["1"],
"thinking_time_after_preceding_session": [3600.0],
"following_sessions": ["4"],
"nb_jobs": 1
},
"4": {
"first_submit_time": 24000.0,
"preceding_sessions": ["2","3"],
"thinking_time_after_preceding_session": [5400.0, 4200.0],
"following_sessions": [],
"nb_jobs": 2
}
}
}
\ No newline at end of file
{
"description": "Prototype for session-annotated Batsim JSON (SABjson) format. See diagram https://app.diagrams.net/#G1tbo7oHahsgxTmhICucCGam5XNtshOUOb.",
"command": "command used to generate the file. We can suppose that it's generated with arrival delimitation approach and threshold = 60mn = 3600s.",
"date": "data of generation of the file",
"nb_res": 4,
"version": 2,
"sessions": {
"1": {
"first_submit_time": 0.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"following_sessions": ["3"],
"nb_jobs": 2,
"jobs": [
{
"id": 1,
"profile": "2400",
"res": 4,
"subtime": 0.0,
"walltime": 2592000.0
},
{
"id": 2,
"profile": "9600",
"res": 4,
"subtime": 3000.0,
"walltime": 2592000.0
}
]
},
"2": {
"first_submit_time": 7800.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"following_sessions": ["4"],
"nb_jobs": 1,
"jobs": [
{
"id": 3,
"profile": "13200",
"res": 4,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
"3": {
"first_submit_time": 16200.0,
"preceding_sessions": ["1"],
"thinking_time_after_preceding_session": [3600.0],
"following_sessions": ["4"],
"nb_jobs": 1,
"jobs": [
{
"id": 4,
"profile": "3600",
"res": 4,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
"4": {
"first_submit_time": 24000.0,
"preceding_sessions": ["2","3"],
"thinking_time_after_preceding_session": [5400.0, 4200.0],
"following_sessions": [],
"nb_jobs": 2,
"jobs": [
{
"id": 5,
"profile": "5400",
"res": 4,
"subtime": 0.0,
"walltime": 2592000.0
},
{
"id": 6,
"profile": "4200",
"res": 4,
"subtime": 600.0,
"walltime": 2592000.0
}
]
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment