My current homework is to compare execution times of the Boyer-Moore, Knuth-Morris-Pratt and Rabin-Karp algorithms.
Since the search is pretty fast I thought of using clock_gettime() so nanoseconds will be returned.
Sorry for double posting, I tried
It seems that some types needed for the call are located in librt
|All times are GMT -5. The time now is 09:59 PM.|