This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

VoIP Calls time display precision

0

VoIp calls display under Telephony->VoIP (on windows) rounds of the start/stop time to the nearest millisecond. Is there a easy way to increase the precision to microseconds.

Looking at the gtk/voip_calls.[ch] it looks like the data is there.

any pointer to where the actual display string is formatted ? And how to include the microsecond resolution in the 'graph' of VoIP calls?

Thanks Ramesh

asked 26 Sep '10, 08:39

ramekris's gravatar image

ramekris
1232
accept rate: 0%

edited 10 Nov '10, 06:47

Jaap's gravatar image

Jaap ♦
11.7k16101


One Answer:

0

I haven't experimented with this but it looks like you'll have to work on the cell renderer.

/* Start Time */
renderer = gtk_cell_renderer_text_new();
....
column = gtk_tree_view_column_new_with_attributes("Start Time", renderer,
    "text", CALL_COL_START_TIME, 
    NULL);

It seems that, according to this tutorial, the renderer makes up its own mind on precision. To get a grip on that a Cell Data Function seems required, again according to this tutorial.

answered 10 Nov '10, 06:47

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%