Skip to content
Tcl Source Code Artifact [62f5fe4717]
Login

Artifact [62f5fe4717]

Artifact 62f5fe47171d7610a3f2337e46e0bce5af885220bd923a612cda612ace72f6d4:

Ticket change [62f5fe4717] - Ticket [48a7a56dda844782|48a7a56dda] <i>Documentation of timerate -overhead needs some detail</i> status still Open with 3 other changes by sebres on 2025-01-21 16:39:15.
D 2025-01-21T16:39:15.385
J icomment Alternatively,\s[98b8512f2f85cb49]\smay\sfix\sthis\son\sthe\scode\sside\s(not\sthe\sdocumentation\sside)\sin\sthe\sform\sthat\s<code>-overhead\s0</code>\sbecomes\ssuperfluous\sor\srather\swill\sbe\sunexpected\sanymore\sto\sestimate\sthe\soverhead\s(in\scalibrated\stimerate).\sThe\swhole\soverhead\sconsidered\sby\stimerate\scall\sis\sthen\sa\ssum\sof\sboth,\sthe\sgiven\swith\s<code>-overhead</code>\svalue\sand\sthe\sinternal\svalue\sestimated\sby\scalibration.\sWith\sother\swords,\sthe\s<code>-overhead\s0</code>\smust\sno\slonger\sbe\sused\sin\sthat\scase\sto\smeasure\sthe\soverhead\swith\spreviously\scalibrated\stimerate.\r\n\r\nPros:\r\n\r\n\s\s*\sdon't\sneed\sto\sknow\swhether\sit\swas\scalibrated\sor\snot,\s<code>-overhead\s0</code>\sbecomes\sredundant;\r\n\s\s*\scalibration\sof\sempty\sevaluation\s(cost\sof\sinvocation)\swouldn't\sreflect\sin\sestimated\soverhead,\sit\sbecomes\shidden\snow.\r\n\r\nCons:\r\n\r\n\s\s*\sa\sbit\sbackwards\sincompatible;\s\r\n\s\s*\spossibly\sunwanted\sbehaviour\sunder\ssome\scircumstances\s-\sit'd\sindirectly\sdepend\son\sthe\scalibration,\swhich\sdid\sbefore\soverhead\smeasurement,\sif\sit\schanges\slater,\sthe\soverhead\smay\sbe\swrong\s(but\ssuch\s"circumstances"\sare\srather\sartificial\sthing,\simho;\r\n\s\s*\sthe\sestimated\soverhead\sdoesn't\sreflect\sthe\scalibration\soverhead\sanymore\s-\sit\sis\shidden\snow\sfor\sany\scase.
J login sebres
J mimetype text/x-fossil-wiki
K 48a7a56dda84478202d547f61746d8d646aa7d8d
U sebres
Z 64388c87b36496ee654cee45a4d10e80