MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / print_timebase

Method print_timebase

DSView/pv/prop/binding/deviceoptions.cpp:292–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292QString DeviceOptions::print_timebase(GVariant *const gvar)
293{
294 uint64_t p, q;
295 g_variant_get(gvar, "(tt)", &p, &q);
296 return QString(sr_period_string(p * q));
297}
298
299QString DeviceOptions::print_vdiv(GVariant *const gvar)
300{

Callers

nothing calls this directly

Calls 1

sr_period_stringFunction · 0.85

Tested by

no test coverage detected