Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MatrixDemo (master|✚1) $ time -l ./build/Release/MatrixDemo 2000 1000 1000 dumb
algorithm: dumb_matrix_multiply
Done! (332833500000.0) 14.05 real 14.00 user 0.04 sys
40906752 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
10001 page reclaims
0 page faults
0 swaps
0 block input operations
0 block output operations
0 messages sent
0 messages received
0 signals received
0 voluntary context switches
475 involuntary context switches
MatrixDemo (master|✚1) $ time -l ./build/Release/MatrixDemo 2000 1000 1000
algorithm: cblas_dgemm
Done! (332833500000.0) 0.09 real 0.41 user 0.05 sys
46182400 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
11587 page reclaims
0 page faults
0 swaps
0 block input operations
0 block output operations
0 messages sent
0 messages received
0 signals received
0 voluntary context switches
1125 involuntary context switches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment