On Thu, 12 Dec 2019, Sebastian Andrzej Siewior wrote: > On 2019-12-08 22:06:25 [+0100], Uwe Kleine-König wrote: > > This fixes a build error on arm64, mips*, ppc and several others > > --- > > src/queuelat/queuelat.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/queuelat/queuelat.c b/src/queuelat/queuelat.c > > index cccb50ef0cc4..98346f346f82 100644 > > --- a/src/queuelat/queuelat.c > > +++ b/src/queuelat/queuelat.c > > @@ -283,7 +283,7 @@ static inline unsigned long long __rdtscll(void) > > > > #define gettick(val) do { (val) = __rdtscll(); } while (0) > > > > -#elif defined __arm__ > > +#else > > Did actually anyone look at the code? I somehow missed the queuelat > thingy completely. Now that I look I think I need further assistance… > > So what I select as frequency for the !x86 case? And why. > > That freq. script reports here: > |1555.184 1566.269 1566.498 1560.055 1593.149 1568.185 1583.807 1599.096 2574.546 2572.408 2573.849 2583.862 2619.402 1825.680 1847.264 1870.318 2552.102 1570.552 1589.650 1595.813 1590.253 1573.834 1589.438 1599.439 1770.963 1786.370 1814.918 1811.936 1828.277 1850.905 1861.976 1792.809 > > I guess I pick one… > > Could someone please figure out the actual difference of clock_gettime() > vs rdtsc() so we know how important it is. Based on its current > implementation, if memmove() takes >1sec then it ends up undetected > because only the ns of the timestamp are considered for. > > > static inline unsigned long long __clock_gettime(void) > > { > > -- > > 2.24.0 > > > > Sebastian > Adding Marcelo to the cc list