Messages in this thread | | | Subject | Re : Re: [PATCH RESEND v3] bitmap: speed up bitmap_find_free_region | From | "Chanho Min" <> | Date | Wed, 8 May 2013 09:59:11 +0900 |
| |
>> Test case 1: order is 0. all bits are one except that last one bit is zero. >> before patch: 29727 ns >> after patch: 2349 ns >How did you find out this time?Can you please post your code >for that? I used local_clock(), But, It may be more proper way for each system.
before = local_clock(); bitmap_find_free_region(bitmap, 1024,0); after = local_clock();
Chanho Min,
| |