summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2023-06-19 23:58:41 +0900
committerPaul E. McKenney <paulmck@kernel.org>2023-06-19 09:00:49 -0700
commit4252e5695074fa6ac6f0b89c2509f4c1368c9817 (patch)
tree7fafc4eb971111fdfe5fac5044930a2608b5de3d
parent3566689d0c01e93c1c0552ddff95b6d4b04ca2ed (diff)
downloadperfbook-4252e5695074fa6ac6f0b89c2509f4c1368c9817.tar.gz
appendix/questions: Address potential orphaned epigraph
Commit 3566689d0c01 ("questions: Add section-level epigraphs") added an epigraph just above a figure environment. This makes cleverefcheck.pl complain: ./appendix/questions/time.tex:11:\begin{figure} ^^^ environment next to epigraph ^^^ Move the figure environment bottom of the first paragraph in the section and prevent the epigraph from (potentially) ending up in the bottom of a column/page. Signed-off-by: Akira Yokosawa <akiyks@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--appendix/questions/time.tex14
1 files changed, 7 insertions, 7 deletions
diff --git a/appendix/questions/time.tex b/appendix/questions/time.tex
index a4ce11ed..49961966 100644
--- a/appendix/questions/time.tex
+++ b/appendix/questions/time.tex
@@ -8,13 +8,6 @@
\epigraph{Time is a game played beautifully by children.}
{Heraclitus}
-\begin{figure}
-\centering
-\resizebox{2.6in}{!}{\includegraphics{cartoons/r-2014-What-time-is-it}}
-\caption{What Time Is It?}
-\ContributedBy{Figure}{fig:app:questions:What Time Is It?}{Melissa Broussard}
-\end{figure}
-
A key issue with timekeeping on multicore computer systems is illustrated
by \cref{fig:app:questions:What Time Is It?}.
One problem is that it takes time to read out the time.
@@ -27,6 +20,13 @@ protocol (NTP) adjustments, and so on.
So does the time eventually returned correspond to the beginning of
the resulting time interval, the end, or somewhere in between?
+\begin{figure}
+\centering
+\resizebox{2.6in}{!}{\includegraphics{cartoons/r-2014-What-time-is-it}}
+\caption{What Time Is It?}
+\ContributedBy{Figure}{fig:app:questions:What Time Is It?}{Melissa Broussard}
+\end{figure}
+
Worse yet, the thread reading the time might be interrupted or preempted.
Furthermore, there will likely be some computation between reading out
the time and the actual use of the time that has been read out.