mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-28 02:06:23 +00:00
gem_pwrite: Print the cache name not the number
Bugzilla: https://bugzilla.freedesktop.org/show_bug.cgi?id=68003
This commit is contained in:
parent
467796acc8
commit
7b254f1939
@ -137,11 +137,11 @@ int main(int argc, char **argv)
|
|||||||
do_gem_write(fd, dst, src, object_size, count);
|
do_gem_write(fd, dst, src, object_size, count);
|
||||||
gettimeofday(&end, NULL);
|
gettimeofday(&end, NULL);
|
||||||
printf("Time to %s pwrite %d bytes x %6d: %7.3fµs, %s\n",
|
printf("Time to %s pwrite %d bytes x %6d: %7.3fµs, %s\n",
|
||||||
c->level, object_size, count,
|
c->name, object_size, count,
|
||||||
elapsed(&start, &end, count),
|
elapsed(&start, &end, count),
|
||||||
bytes_per_sec((char *)buf, object_size/elapsed(&start, &end, count)*1e6));
|
bytes_per_sec((char *)buf, object_size/elapsed(&start, &end, count)*1e6));
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
free(src);
|
free(src);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user