[ovs-dev] [PATCH] ofproto: Avoid extra call to time_msec().

Justin Pettit jpettit at nicira.com
Tue Mar 9 01:30:26 UTC 2010


On Mar 8, 2010, at 4:38 PM, Ben Pfaff wrote:

> compose_flow_removed() alreadyu has the current time conveniently provided

"already" is misspelled.

> -    long long int tdiff = time_msec() - rule->created;
> +    long long int tdiff = now - rule->created;

When I said don't focus on the big performance wins, this wasn't what I meant.  :-P

Looks good.  Thanks.

--Justin






More information about the dev mailing list