* [PATCH 2/3] Remove trademark and registered symbols in text
2017-10-21 0:07 [PATCH 1/3] debugging: Use \ln for natural logarithm in Eq E.9 Akira Yokosawa
@ 2017-10-21 0:09 ` Akira Yokosawa
2017-10-21 0:10 ` [PATCH 3/3] toolsoftrade: Adjust wording on age of POWER5 Akira Yokosawa
2017-10-21 0:26 ` [PATCH 1/3] debugging: Use \ln for natural logarithm in Eq E.9 Paul E. McKenney
2 siblings, 0 replies; 4+ messages in thread
From: Akira Yokosawa @ 2017-10-21 0:09 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 75d006892f834a75f6901d666d0276722ce276f5 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 21 Oct 2017 08:25:47 +0900
Subject: [PATCH 2/3] Remove trademark and registered symbols in text
The Legal page should have covered these trade marks.
Instead of removing the macros, substitute custom macros for them.
When a part of the text will be exported as a separate document,
these macros can be defined to output actual symbols as are shown
in comment in perfbook.tex.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
SMPdesign/beyond.tex | 4 ++--
datastruct/datastruct.tex | 4 ++--
memorder/memorder.tex | 4 ++--
perfbook.tex | 4 ++++
4 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/SMPdesign/beyond.tex b/SMPdesign/beyond.tex
index 65f2518..72862c5 100644
--- a/SMPdesign/beyond.tex
+++ b/SMPdesign/beyond.tex
@@ -195,7 +195,7 @@ Lines~8-9 of this listing must use fetch-and-add to arbitrate concurrent
attempts to record cells in the \co{->visited[]} array.
This approach does provide significant speedups on a dual-CPU
-Lenovo\textsuperscript\texttrademark W500
+Lenovo\mytexttrademark\ W500
running at 2.53\,GHz, as shown in
Figure~\ref{fig:SMPdesign:CDF of Solution Times For SEQ and PWQ},
which shows the cumulative distribution functions (CDFs) for the solution
@@ -575,7 +575,7 @@ the solution line.
This disappointing performance compared to results in
Figure~\ref{fig:SMPdesign:Varying Maze Size vs. COPART}
is due to the less-tightly integrated hardware available in the
-larger and older Xeon\textsuperscript\textregistered
+larger and older Xeon\mytextregistered\
system running at 2.66\,GHz.
\subsection{Future Directions and Conclusions}
diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex
index e6c3f17..c5038b6 100644
--- a/datastruct/datastruct.tex
+++ b/datastruct/datastruct.tex
@@ -394,8 +394,8 @@ The \co{hashtab_free()} function on lines~20-23 is straightforward.
\end{figure}
The performance results for an eight-CPU 2\,GHz
-Intel\textsuperscript\textregistered
-Xeon\textsuperscript\textregistered
+Intel\mytextregistered\
+Xeon\mytextregistered\
system using a bucket-locked hash table with 1024 buckets are shown in
Figure~\ref{fig:datastruct:Read-Only Hash-Table Performance For Schroedinger's Zoo}.
The performance does scale nearly linearly, but is not much more than half
diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 752e321..bd3af16 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -4408,7 +4408,7 @@ barrier.
\subsection{\Power{} / PowerPC}
\label{sec:memorder:POWER / PowerPC}
-The \Power{} and PowerPC\textsuperscript{\textregistered}
+The \Power{} and PowerPC\mytextregistered\
CPU families have a wide variety of memory-barrier
instructions~\cite{PowerPC94,MichaelLyons05a}:
\begin{description}
@@ -4623,7 +4623,7 @@ it~\cite[Section 8.1.3]{Intel64IA32v3A2011}.
\subsection{z Systems}
-The z~Systems machines make up the IBM\textsuperscript{\texttrademark}
+The z~Systems machines make up the IBM\mytexttrademark\
mainframe family, previously
known as the 360, 370, 390 and zSeries~\cite{IBMzSeries04a}.
Parallelism came late to z~Systems, but given that these mainframes first
diff --git a/perfbook.tex b/perfbook.tex
index 049f028..1c23b3a 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -146,6 +146,10 @@
%\newcommand{\GCC}{\co{gcc}} % For those who prefer "gcc"
\newcommand{\IRQ}{IRQ}
%\newcommand{\IRQ}{irq} % For those who prefer "irq"
+\newcommand{\mytexttrademark}{}
+\newcommand{\mytextregistered}{}
+%\newcommand{\mytexttrademark}{\textsuperscript\texttrademark}
+%\newcommand{\mytextregistered}{\textsuperscript\textregistered}
\newcommand{\Epigraph}[2]{\epigraphhead[65]{\rmfamily\epigraph{#1}{#2}}}
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/3] debugging: Use \ln for natural logarithm in Eq E.9
2017-10-21 0:07 [PATCH 1/3] debugging: Use \ln for natural logarithm in Eq E.9 Akira Yokosawa
2017-10-21 0:09 ` [PATCH 2/3] Remove trademark and registered symbols in text Akira Yokosawa
2017-10-21 0:10 ` [PATCH 3/3] toolsoftrade: Adjust wording on age of POWER5 Akira Yokosawa
@ 2017-10-21 0:26 ` Paul E. McKenney
2 siblings, 0 replies; 4+ messages in thread
From: Paul E. McKenney @ 2017-10-21 0:26 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Sat, Oct 21, 2017 at 09:07:28AM +0900, Akira Yokosawa wrote:
> >From ad506b1b01a5c13bbbe393c7acaa11b4320d0601 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> Date: Sat, 21 Oct 2017 07:53:36 +0900
> Subject: [PATCH 1/3] debugging: Use \ln for natural logarithm in Eq E.9
>
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
I applied all three, thank you! Good eyes, especially on the log->ln
change. ;-)
Thanx, Paul
> ---
> debugging/debugging.tex | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debugging/debugging.tex b/debugging/debugging.tex
> index a4537b0..700e725 100644
> --- a/debugging/debugging.tex
> +++ b/debugging/debugging.tex
> @@ -1265,7 +1265,7 @@ following formula:
> Equation~\ref{eq:debugging:Error-Free Test Duration}, resulting in:
>
> \begin{equation}
> - T = - \frac{1}{3} \log \frac{100 - 99.9}{100} = 2.3
> + T = - \frac{1}{3} \ln \frac{100 - 99.9}{100} = 2.3
> \end{equation}
>
> If the test runs without failure for 2.3 hours, we can be 99.9\,\%
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread