|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 2/4] qtest: replace gettimeofday with GTimer |
| Date: | Fri, 4 Mar 2022 10:50:03 -1000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 3/4/22 05:27, marcandre.lureau@redhat.com wrote:
+ g_clear_pointer(&timer, g_timer_destroy); + timer = g_timer_new();
Why not g_timer_{reset,start}, instead of destroying and recreating?
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |