Get performance data for a diff object.
Structure to be filled with diff performance data
Diff to read performance data from
0 for success, < 0 for error