I am trying to determine the cache speed and memory speed in processor clocks while running an application. System_profiler and sysctl provide some of the data that I am trying to get, but not the speeds. The wmic command in windows provides values for L2CacheSpeed and L3CacheSpeed, but I cannot find the equivalent for Mac. I have seen a windows app that uses increasing array sizes to compute the access time in clocks for each cache level and main memory, but could not find source code for that. Any assistance would be greatly appreciated!