Is there anyone knows how to get the exact starttime and rendertime of everyframe(or task)? I found a taskinfo.txt file in the repository, but I don’t understand the overall meanling of it content, such as:
0 Sl2 10.8596211 -1 0 0 0 0 0 0 0 10.86 634873883064777182 12.6237221
I just know ‘0’ stands for task 0 and ‘Sl2’ stands for Slave2, but what are the rest fields stand for?
Manually parsing the repository files isn’t recommended, especially because almost all of that will be changing in Deadline 6.
Are you wanting to access this data from a script that runs in the context of Deadline, or are you wanting to access it from a standalone script or application? Let me know and we’ll try to recommend the best approach.
Cheers,
- Ryan
Hello, Ryan. I just want to access these information from a standalone application. Can you tell me more detail how can I do? Thanks.
You can use deadlinecommand and the GetJobTasks option to print out this info to stdout:
For example:
deadlinecommand -GetJobTasks 000_050_000_abcd1234 True
This will dump all the tasks to stdout, which you can then parse back in. Enabling the Ini format makes it easier to tell when a new task is beginning.
Hope this helps!
- Ryan
Hello, Ryan. I do get the information of every frame by deadlinecommand, but the output is too much and is hard to resolve. I still want to know the exact means of every field in file taskinfo, such as :
0 Sl1 9.1605239 -1 0 0 0 0 0 0 0 9.161 634873891670869423 11.2306424
I especially want to know what does ‘634873891670869423’ stand for.
Thanks
I can tell you what those values mean, but in Deadline 6, this file won’t exist anymore.
Here are those values, in order:
Task ID
Slave name
Render time (seconds)
Image file size (bytes)
Peak ram usage (bytes)
Peak ram percentage
Peak cpu usage
Used cpu clocks
Cpu utilization
Average ram (bytes)
Average ram percentage
Normalized render time
Completed date/time (ticks)
Task time (seconds)