Index: doc/LaTeXmacros/common.sty
===================================================================
--- doc/LaTeXmacros/common.sty	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
+++ doc/LaTeXmacros/common.sty	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -0,0 +1,316 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
+%%
+%% The contents of this file are covered under the licence agreement in the
+%% file "LICENCE" distributed with Cforall.
+%%
+%% common.tex --
+%%
+%% Author           : Peter A. Buhr
+%% Created On       : Sat Apr  9 10:06:17 2016
+%% Last Modified By : Peter A. Buhr
+%% Last Modified On : Sat May  8 08:48:35 2021
+%% Update Count     : 550
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\setlength{\textheight}{9in}
+%\oddsidemargin 0.0in
+\renewcommand{\topfraction}{0.8}		% float must be greater than X of the page before it is forced onto its own page
+\renewcommand{\bottomfraction}{0.8}		% float must be greater than X of the page before it is forced onto its own page
+\renewcommand{\floatpagefraction}{0.8}	% float must be greater than X of the page before it is forced onto its own page
+\renewcommand{\textfraction}{0.0}		% the entire page maybe devoted to floats with no text on the page at all
+
+\lefthyphenmin=4						% hyphen only after 4 characters
+\righthyphenmin=4
+
+\usepackage[ignoredisplayed]{enumitem}	% do not affect trivlist
+\setlist{labelsep=1ex}% global
+\setlist[itemize]{topsep=0.5ex,parsep=0.25ex,itemsep=0.25ex,listparindent=\parindent,leftmargin=\parindent}% global
+\setlist[itemize,1]{label=\textbullet}% local
+%\renewcommand{\labelitemi}{{\raisebox{0.25ex}{\footnotesize$\bullet$}}}
+\setlist[enumerate]{listparindent=\parindent}% global
+\setlist[enumerate,2]{leftmargin=\parindent,labelsep=*,align=parleft,label=\alph*.}% local
+\setlist[description]{topsep=0.5ex,itemsep=0pt,listparindent=\parindent,leftmargin=\parindent,labelsep=1.5ex}
+
+% Names used in the document.
+
+\usepackage{xspace}
+\newcommand{\CFAIcon}{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}} % Cforall icon
+\newcommand{\CFA}{\protect\CFAIcon\xspace}				% CFA symbolic name
+\newcommand{\CFL}{\textrm{Cforall}\xspace}				% Cforall non-icon name
+\newcommand{\Celeven}{\textrm{C11}\xspace}				% C11 symbolic name
+\newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon
+\newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace}		% C++ symbolic name
+% numbers disallowed in latex variables names => use number names
+\newcommand{\CCeleven}{\protect\CCIcon{11}\xspace}		% C++11 symbolic name
+\newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace}	% C++14 symbolic name
+\newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace}	% C++17 symbolic name
+\newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace}		% C++20 symbolic name
+\newcommand{\Csharp}{C\raisebox{-0.7ex}{\Large$^\sharp$}\xspace} % C# symbolic name
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% remove special-character warning in PDF side-bar names
+\@ifpackageloaded{hyperref}{
+  \pdfstringdefDisableCommands{
+  \def\CFA{\CFL}
+  \def\Celeven{C11\xspace}
+  \def\CC{C++\xspace}
+  \def\CCeleven{C++11\xspace}
+  \def\CCfourteen{C++14\xspace}
+  \def\CCseventeen{C++17\xspace}
+  \def\CCtwenty{C++20\xspace}
+  \def\Csharp{C\#\xspace}
+  \def\lstinline{\xspace}% must use {} as delimiters, e.g., \lstinline{...}
+  }{}
+}
+
+% parindent is relative, i.e., toggled on/off in environments like itemize, so store the value for
+% use rather than use \parident directly.
+\newlength{\parindentlnth}
+\setlength{\parindentlnth}{\parindent}
+
+\usepackage{pslatex}					% reduce size of san serif font
+\usepackage{relsize}					% must be after change to small or selects old size
+\usepackage{rotating}
+
+% reduce size of chapter/section titles
+\def\@makechapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright \normalfont
+    \ifnum \c@secnumdepth >\m@ne
+        \large\bfseries \@chapapp\space \thechapter
+        \par\nobreak
+        \vskip 5\p@
+    \fi
+    \interlinepenalty\@M
+    \Large \bfseries #1\par\nobreak
+    \vskip 50\p@
+  }}
+\def\@makeschapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright
+    \normalfont
+    \interlinepenalty\@M
+    \Large \bfseries  #1\par\nobreak
+    \vskip 50\p@
+  }}
+\renewcommand\section{\@startsection{section}{1}{\z@}{-3.0ex \@plus -1ex \@minus -.2ex}{1.5ex \@plus .2ex}{\normalfont\large\bfseries}}
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}{-2.75ex \@plus -1ex \@minus -.2ex}{1.25ex \@plus .2ex}{\normalfont\normalsize\bfseries}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.5ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\normalsize\bfseries}}
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-2.0ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries}}
+\renewcommand\subparagraph{\@startsection{subparagraph}{4}{\z@}{-1.5ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries\itshape}}
+
+% index macros
+\newcommand{\italic}[1]{\emph{\hyperpage{#1}}}
+\newcommand{\Definition}[1]{\textbf{\hyperpage{#1}}}
+\newcommand{\see}[1]{(see #1)}
+
+% Define some commands that produce formatted index entries suitable for cross-references.
+% ``\spec'' produces entries for specifications of entities.  ``\impl'' produces entries for their
+% implementations, and ``\use'' for their uses.
+
+%  \newcommand{\bold}[1]{{\bf #1}}
+%  \def\spec{\@bsphack\begingroup
+%             \def\protect##1{\string##1\space}\@sanitize
+%             \@wrxref{|bold}}
+\def\impl{\@bsphack\begingroup
+          \def\protect##1{\string##1\space}\@sanitize
+          \@wrxref{|Definition}}
+\newcommand{\indexcode}[1]{{\lstinline$#1$}}
+\def\use{\@bsphack\begingroup
+         \def\protect##1{\string##1\space}\@sanitize
+         \@wrxref{|hyperpage}}
+\def\@wrxref#1#2{\let\thepage\relax
+    \xdef\@gtempa{\write\@indexfile{\string
+    \indexentry{#2@{\lstinline$#2$}#1}{\thepage}}}\endgroup\@gtempa
+    \if@nobreak \ifvmode\nobreak\fi\fi\@esphack}
+%\newcommand{\use}[1]{\index{#1@{\lstinline$#1$}}}
+%\newcommand{\impl}[1]{\index{\protect#1@{\lstinline$\protect#1$}|Definition}}
+
+% inline text and lowercase index: \Index{inline and lowercase index text}
+\newcommand{\Index}{\@ifstar\@sIndex\@Index}
+% inline text and as-in index: \Index[as-is index text]{inline text}
+\newcommand{\@Index}[2][\@empty]{\lowercase{\def\temp{#2}}#2\ifx#1\@empty\index{\temp}\else\index{#1@{\protect#2}}\fi}
+% inline text but index with different as-is text: \Index[index text]{inline text}
+\newcommand{\@sIndex}[2][\@empty]{#2\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi}
+
+% inline text and code index (cannot use ©)
+\newcommand{\Indexc}[2][\@empty]{\lstinline[#1]$#2$\index{#2@\lstinline[#1]$#2$}}
+% code index (cannot use ©)
+\newcommand{\indexc}[2][\@empty]{\index{#2@\lstinline[#1]$#2$}}
+
+% Denote newterms in particular font and index them without particular font and in lowercase, e.g., \newterm{abc}.
+% The option parameter provides an index term different from the new term, e.g., \newterm[\texttt{abc}]{abc}
+% The star version does not lowercase the index information, e.g., \newterm*{IBM}.
+\newcommand{\newtermFontInline}{\emph}
+\newcommand{\newterm}{\protect\@ifstar\@snewterm\@newterm}
+\newcommand{\@newterm}[2][\@empty]{\lowercase{\def\temp{#2}}{\newtermFontInline{#2}}\ifx#1\@empty\index{\temp}\else\index{#1@{\protect#2}}\fi}
+\newcommand{\@snewterm}[2][\@empty]{{\newtermFontInline{#2}}\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi}
+
+% Latin abbreviation
+\newcommand{\abbrevFont}{\textit}			% set empty for no italics
+% If not followed by a comma or colon, add a comma.
+\newcommand{\CheckCommaColon}{\@ifnextchar{,}{}{\@ifnextchar{:}{}{,\xspace}}}
+% If not followed by a period, add a period.
+\newcommand{\CheckPeriod}{\@ifnextchar{.}{}{.\xspace}}
+
+\@ifundefined{eg}{
+\newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.}
+\newcommand{\eg}{\EG\CheckCommaColon}
+}{}%
+\@ifundefined{ie}{
+\newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.}
+\newcommand{\ie}{\IE\CheckCommaColon}
+}{}%
+\@ifundefined{etc}{
+\newcommand{\ETC}{\abbrevFont{etc}}
+\newcommand{\etc}{\ETC\CheckPeriod}
+}{}%
+\@ifundefined{etal}{
+\newcommand{\ETAL}{\abbrevFont{et}~\abbrevFont{al}}
+\newcommand{\etal}{\ETAL\CheckPeriod}
+}{}%
+\@ifundefined{viz}{
+\newcommand{\VIZ}{\abbrevFont{viz}}
+\newcommand{\viz}{\VIZ\CheckPeriod}
+}{}%
+
+\newenvironment{cquote}{%
+	\list{}{\lstset{resetmargins=true,aboveskip=0pt,belowskip=0pt}\topsep=4pt\parsep=0pt\leftmargin=\parindentlnth\rightmargin\leftmargin}%
+	\item\relax
+}{%
+	\endlist
+}% cquote
+
+\newenvironment{rationale}{%
+  \begin{cquote}\noindent$\Box$\enspace
+}{%
+  \hfill\enspace$\Box$\end{cquote}
+}%
+
+% blocks and titles
+\newcommand{\define}[1]{\emph{#1\/}\index{#1}}
+\newcommand{\rewriterules}{\paragraph{Rewrite Rules}~\par\noindent}
+\newcommand{\examples}{\paragraph{Examples}~\par\noindent}
+\newcommand{\semantics}{\paragraph{Semantics}~\par\noindent}
+\newcommand{\constraints}{\paragraph{Constraints}~\par\noindent}
+\newcommand{\predefined}{\paragraph{Predefined Identifiers}~\par\noindent}
+
+% BNF macros
+\newenvironment{syntax}{
+\paragraph{Syntax}
+\begin{cquote}
+\begin{description}[noitemsep,leftmargin=\parindentlnth]
+}{
+\end{description}
+\end{cquote}
+}
+% \def\syntax{\paragraph{Syntax}\trivlist\parindent=.5in\item[\hskip.5in]}
+%\let\endsyntax=\endtrivlist
+\newcommand{\lhs}[1]{\item[\emph{#1:}\index{#1@{\emph{#1}}|italic}]~\ignorespaces}
+\newcommand{\oldlhs}[1]{\item[\emph{#1:}\index{#1@{\emph{#1}}|italic}~\dots]~}
+\newcommand{\rhs}{\hfil\newline}
+\newcommand{\nonterm}[1]{\emph{#1}\index{#1@{\emph{#1}}|italic}}
+\newcommand{\opt}{$_{opt}$\ }
+
+\usepackage{varioref}					% extended references
+% adjust varioref package with default "section" and "page" titles, and optional title with faraway page numbers
+% \VRef{label} => Section 2.7, \VPageref{label} => page 17
+% \VRef[Figure]{label} => Figure 3.4, \VPageref{label} => page 17
+\renewcommand{\reftextfaceafter}{\unskip}
+\renewcommand{\reftextfacebefore}{\unskip}
+\renewcommand{\reftextafter}{\unskip}
+\renewcommand{\reftextbefore}{\unskip}
+\renewcommand{\reftextfaraway}[1]{\unskip, p.~\pageref{#1}}
+\renewcommand{\reftextpagerange}[2]{\unskip, pp.~\pageref{#1}--\pageref{#2}}
+\newcommand{\VRef}[2][Section]{\ifx#1\@empty\else{#1}\nobreakspace\fi\vref{#2}}
+\newcommand{\VPageref}[2][page]{\ifx#1\@empty\else{#1}\nobreakspace\fi\pageref{#2}}
+
+\let\Oldthebibliography\thebibliography
+\renewcommand\thebibliography[1]{
+  \Oldthebibliography{#1}
+  \setlength{\parskip}{0pt}				% reduce vertical spacing between references
+  \setlength{\itemsep}{5pt plus 0.3ex}
+}%
+
+\usepackage{listings}									% format program code
+\usepackage{lstlang}
+\usepackage{calc}										% latex arithmetic
+
+\newcommand{\LstBasicStyle}[1]{{\lst@basicstyle{#1}}}
+\newcommand{\LstKeywordStyle}[1]{{\lst@basicstyle{\lst@keywordstyle{#1}}}}
+\newcommand{\LstCommentStyle}[1]{{\lst@basicstyle{\lst@commentstyle{#1}}}}
+\newcommand{\LstStringStyle}[1]{{\lst@basicstyle{\lst@stringstyle{#1}}}}
+
+\newlength{\gcolumnposn}				% temporary hack because lstlisting does not handle tabs correctly
+\newlength{\columnposn}
+\setlength{\gcolumnposn}{2.75in}
+\setlength{\columnposn}{\gcolumnposn}
+\newcommand{\C}[2][\@empty]{\ifx#1\@empty\else\global\setlength{\columnposn}{#1}\global\columnposn=\columnposn\fi\hfill\makebox[\textwidth-\columnposn][l]{\lst@basicstyle{\LstCommentStyle{#2}}}}
+\newcommand{\CRT}{\global\columnposn=\gcolumnposn}
+
+% allow escape sequence in lstinline
+%\usepackage{etoolbox}
+%\patchcmd{\lsthk@TextStyle}{\let\lst@DefEsc\@empty}{}{}{\errmessage{failed to patch}}
+
+% allow adding to lst literate
+\def\addToLiterate#1{\protect\edef\lst@literate{\unexpanded\expandafter{\lst@literate}\unexpanded{#1}}}
+\lst@Key{add to literate}{}{\addToLiterate{#1}}
+
+\newcommand{\CFAStyle}{%
+\lstset{
+columns=fullflexible,
+basicstyle=\linespread{0.9}\sf,			% reduce line spacing and use sanserif font
+stringstyle=\tt,						% use typewriter font
+tabsize=5,								% N space tabbing
+xleftmargin=\parindentlnth,				% indent code to paragraph indentation
+extendedchars=true,						% allow ASCII characters in the range 128-255
+escapechar=\$,							% LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'
+mathescape=false,						% LaTeX math escape in CFA code $...$
+keepspaces=true,						%
+showstringspaces=false,					% do not show spaces with cup
+showlines=true,							% show blank lines at end of code
+aboveskip=4pt,							% spacing above/below code block
+belowskip=2pt,
+numberstyle=\footnotesize\sf,			% numbering style
+% replace/adjust listing characters that look bad in sanserif
+literate={-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 {^}{\raisebox{0.6ex}{$\scriptscriptstyle\land\,$}}1
+	{~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 {`}{\ttfamily\upshape\hspace*{-0.1ex}`}1
+	{<-}{$\leftarrow$}2 {=>}{$\Rightarrow$}2 {->}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.8ex}{0.075ex}}}\kern-0.2ex\textgreater}2,
+}% lstset
+}% CFAStyle
+
+\ifdefined\CFALatin% extra Latin-1 escape characters
+\lstnewenvironment{cfa}[1][]{% necessary
+\lstset{
+language=CFA,
+%moredelim=**[is][\color{red}]{@}{@},	% red highlighting @...@
+moredelim=**[is][\color{red}]{®}{®},	% red highlighting ®...® (registered trademark symbol) emacs: C-q M-.
+%moredelim=**[is][\color{blue}]{ß}{ß},	% blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_
+%moredelim=**[is][\color{OliveGreen}]{¢}{¢}, % green highlighting ¢...¢ (cent symbol) emacs: C-q M-"
+%moredelim=[is][\lstset{keywords={}}]{¶}{¶}, % keyword escape ¶...¶ (pilcrow symbol) emacs: C-q M-^
+}% lstset
+\lstset{#1}% necessary
+}{}
+% inline code ©...© (copyright symbol) emacs: C-q M-)
+\lstMakeShortInline©					% single-character for \lstinline
+\else% regular ASCI characters
+\lstnewenvironment{cfa}[1][]{% necessary
+\lstset{
+language=CFA,
+escapechar=\$,							% LaTeX escape in CFA code
+mathescape=false,						% LaTeX math escape in CFA code $...$
+moredelim=**[is][\color{red}]{@}{@},	% red highlighting @...@
+}% lstset
+\lstset{#1}% necessary
+}{}
+% inline code @...@ (at symbol)
+\lstMakeShortInline@					% single-character for \lstinline
+\fi%
+
+% Local Variables: %
+% tab-width: 4 %
+% fill-column: 100 %
+% End: %
Index: doc/LaTeXmacros/common.tex
===================================================================
--- doc/LaTeXmacros/common.tex	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/LaTeXmacros/common.tex	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -11,6 +11,6 @@
 %% Created On       : Sat Apr  9 10:06:17 2016
 %% Last Modified By : Peter A. Buhr
-%% Last Modified On : Tue Apr 27 12:03:17 2021
-%% Update Count     : 539
+%% Last Modified On : Sat May  8 08:48:37 2021
+%% Update Count     : 540
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -38,14 +38,14 @@
 \usepackage{xspace}
 \newcommand{\CFAIcon}{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}} % Cforall icon
-\newcommand{\CFA}{\protect\CFAIcon\xspace}			% CFA symbolic name
-\newcommand{\CFL}{\textrm{Cforall}\xspace}			% Cforall non-icon name
-\newcommand{\Celeven}{\textrm{C11}\xspace}			% C11 symbolic name
+\newcommand{\CFA}{\protect\CFAIcon\xspace}				% CFA symbolic name
+\newcommand{\CFL}{\textrm{Cforall}\xspace}				% Cforall non-icon name
+\newcommand{\Celeven}{\textrm{C11}\xspace}				% C11 symbolic name
 \newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon
-\newcommand{\CC}{\protect\CCIcon\xspace}			% C++ symbolic name
+\newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace}		% C++ symbolic name
 % numbers disallowed in latex variables names => use number names
-\newcommand{\CCeleven}{\protect\CCIcon{11}\xspace}	% C++11 symbolic name
-\newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace} % C++14 symbolic name
-\newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace} % C++17 symbolic name
-\newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace}	% C++20 symbolic name
+\newcommand{\CCeleven}{\protect\CCIcon{11}\xspace}		% C++11 symbolic name
+\newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace}	% C++14 symbolic name
+\newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace}	% C++17 symbolic name
+\newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace}		% C++20 symbolic name
 \newcommand{\Csharp}{C\raisebox{-0.7ex}{\Large$^\sharp$}\xspace} % C# symbolic name
 
@@ -153,36 +153,29 @@
 % Latin abbreviation
 \newcommand{\abbrevFont}{\textit}			% set empty for no italics
+% If not followed by a comma or colon, add a comma.
+\newcommand{\CheckCommaColon}{\@ifnextchar{,}{}{\@ifnextchar{:}{}{,\xspace}}}
+% If not followed by a period, add a period.
+\newcommand{\CheckPeriod}{\@ifnextchar{.}{}{.\xspace}}
+
 \@ifundefined{eg}{
 \newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.}
-\newcommand*{\eg}{%
-	\@ifnextchar{,}{\EG}%
-		{\@ifnextchar{:}{\EG}%
-			{\EG,\xspace}}%
-}}{}%
+\newcommand{\eg}{\EG\CheckCommaColon}
+}{}%
 \@ifundefined{ie}{
 \newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.}
-\newcommand*{\ie}{%
-	\@ifnextchar{,}{\IE}%
-		{\@ifnextchar{:}{\IE}%
-			{\IE,\xspace}}%
-}}{}%
+\newcommand{\ie}{\IE\CheckCommaColon}
+}{}%
 \@ifundefined{etc}{
 \newcommand{\ETC}{\abbrevFont{etc}}
-\newcommand*{\etc}{%
-	\@ifnextchar{.}{\ETC}%
-        {\ETC.\xspace}%
-}}{}%
+\newcommand{\etc}{\ETC\CheckPeriod}
+}{}%
 \@ifundefined{etal}{
 \newcommand{\ETAL}{\abbrevFont{et}~\abbrevFont{al}}
-\newcommand*{\etal}{%
-	\@ifnextchar{.}{\protect\ETAL}%
-		{\protect\ETAL.\xspace}%
-}}{}%
+\newcommand{\etal}{\ETAL\CheckPeriod}
+}{}%
 \@ifundefined{viz}{
 \newcommand{\VIZ}{\abbrevFont{viz}}
-\newcommand*{\viz}{%
-	\@ifnextchar{.}{\VIZ}%
-		{\VIZ.\xspace}%
-}}{}%
+\newcommand{\viz}{\VIZ\CheckPeriod}
+}{}%
 \makeatother
 
Index: doc/theses/mubeen_zulfiqar_MMath/allocator.tex
===================================================================
--- doc/theses/mubeen_zulfiqar_MMath/allocator.tex	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/theses/mubeen_zulfiqar_MMath/allocator.tex	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -1,4 +1,26 @@
+\chapter{Allocator}
 
-\chapter{Allocator}
+====================
+
+Writing Points:
+
+Objective of uHeapLmmm.
+Design philosophy.
+Background and previous design of uHeapLmmm.
+
+Distributed design of uHeapLmmm.
+----- SHOULD WE GIVE IMPLEMENTATION DETAILS HERE? -----
+> figure.
+> Advantages of distributed design.
+
+The new features added to uHeapLmmm (incl. malloc_size routine)
+CFA alloc interface with examples.
+> Why did we need it?
+> The added benefits.
+----- SHOULD WE GIVE PERFORMANCE AND USABILITY COMPARISON OF DIFFERENT INTERFACES THAT WE TRIED? -----
+
+Performance evaluation using u-benchmark suite.
+
+====================
 
 \newpage
Index: doc/theses/mubeen_zulfiqar_MMath/background.tex
===================================================================
--- doc/theses/mubeen_zulfiqar_MMath/background.tex	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/theses/mubeen_zulfiqar_MMath/background.tex	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -1,3 +1,17 @@
 \chapter{Background}
 
+====================
+
+Writing Points:
+
+Classification of benchmarks.
+Literature review of current benchmarks.
+Features and limitations.
+
+Literature review of current memory allocators.
+Breakdown of memory allocation techniques.
+Fetures and limitations.
+
+====================
+
 \cite{Wasik08}
Index: doc/theses/mubeen_zulfiqar_MMath/benchmarks.tex
===================================================================
--- doc/theses/mubeen_zulfiqar_MMath/benchmarks.tex	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/theses/mubeen_zulfiqar_MMath/benchmarks.tex	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -1,1 +1,20 @@
 \chapter{Benchmarks}
+
+====================
+
+Writing Points:
+
+Performance matrices of memory allocation.
+
+Aim of micro benchmark suite.
+----- SHOULD WE GIVE IMPLEMENTATION DETAILS HERE? -----
+A complete list of benchmarks in micro benchmark suite.
+
+One detailed section for each benchmark in micro benchmark suite including:
+> The introduction of the benchmark.
+> Figure.
+> Results with popular memory allocators.
+
+Summarize performance of current memory allocators.
+
+====================
Index: doc/theses/mubeen_zulfiqar_MMath/conclusion.tex
===================================================================
--- doc/theses/mubeen_zulfiqar_MMath/conclusion.tex	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/theses/mubeen_zulfiqar_MMath/conclusion.tex	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -1,1 +1,11 @@
 \chapter{Conclusion}
+
+====================
+
+Writing Points:
+
+Summarize u-benchmark suite.
+Summarize uHeapLmmm.
+Make recommendations on memory allocator design.
+
+====================
Index: doc/theses/mubeen_zulfiqar_MMath/intro.tex
===================================================================
--- doc/theses/mubeen_zulfiqar_MMath/intro.tex	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/theses/mubeen_zulfiqar_MMath/intro.tex	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -1,1 +1,17 @@
 \chapter{Introduction}
+
+====================
+
+Writing Points:
+
+Introduce dynamic memory allocation with brief background.
+Scope of the thesis.
+Importance of memory allocation and micro benhmark suite.
+
+Research problem.
+Research objectives.
+The vision behind cfa-malloc.
+
+An outline of the thesis.
+
+====================
Index: doc/user/Makefile
===================================================================
--- doc/user/Makefile	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/user/Makefile	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -61,5 +61,5 @@
 
 ${BASE}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
-		${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib build/version | ${Build}
+		${Macros}/common.sty ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib build/version | ${Build}
 	# Conditionally create an empty *.ind (index) file for inclusion until makeindex is run.
 	if [ ! -r ${basename $@}.ind ] ; then touch ${Build}/${basename $@}.ind ; fi
@@ -68,5 +68,5 @@
 	-${BibTeX} ${Build}/${basename $@}
 	# Some citations reference others so run again to resolve these citations
-	${LaTeX} ${basename $@}.tex
+#	${LaTeX} ${basename $@}.tex
 	-${BibTeX} ${Build}/${basename $@}
 	# Make index from *.aux entries and input index at end of document
@@ -75,5 +75,5 @@
 	${LaTeX} ${basename $@}.tex
 	# Run again to get index title into table of contents
-	${LaTeX} ${basename $@}.tex
+#	${LaTeX} ${basename $@}.tex
 
 ## Define the default recipes.
Index: doc/user/user.tex
===================================================================
--- doc/user/user.tex	(revision 299b8b28943fdcfddf8ffb4647eef91e58841627)
+++ doc/user/user.tex	(revision 90a10e8a7d82d5c8a828d08753cded2a5e35c448)
@@ -11,6 +11,6 @@
 %% Created On       : Wed Apr  6 14:53:29 2016
 %% Last Modified By : Peter A. Buhr
-%% Last Modified On : Wed Apr 28 21:48:59 2021
-%% Update Count     : 5051
+%% Last Modified On : Sat May  8 08:51:33 2021
+%% Update Count     : 5062
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
@@ -65,5 +65,6 @@
 % keyword escape ¶...¶ (pilcrow symbol) emacs: C-q M-^
 % math escape $...$ (dollar symbol)
-\input{common}                                          % common CFA document macros
+\usepackage{common}										% common CFA document macros
+%\input{common}											% common CFA document macros
 \setlength{\gcolumnposn}{3in}
 \CFAStyle												% use default CFA format-style
@@ -585,5 +586,5 @@
 For example, the octal ©0© or hexadecimal ©0x© prefix may end with an underscore ©0_377© or ©0x_ff©;
 the exponent infix ©E© may start or end with an underscore ©1.0_E10©, ©1.0E_10© or ©1.0_E_10©;
-the type suffixes ©U©, ©L©, etc. may start with an underscore ©1_U©, ©1_ll© or ©1.0E10_f©.
+the type suffixes ©U©, ©L©, \etc may start with an underscore ©1_U©, ©1_ll© or ©1.0E10_f©.
 \end{enumerate}
 It is significantly easier to read and enter long constants when they are broken up into smaller groupings (many cultures use comma and/or period among digits for the same purpose).
@@ -1570,5 +1571,5 @@
 \end{cquote}
 
-All type qualifiers, \eg ©const©, ©volatile©, etc., are used in the normal way with the new declarations and also appear left to right, \eg:
+All type qualifiers, \eg ©const©, ©volatile©, \etc, are used in the normal way with the new declarations and also appear left to right, \eg:
 \begin{cquote}
 \begin{tabular}{@{}l@{\hspace{1em}}l@{\hspace{1em}}l@{}}
@@ -1590,5 +1591,5 @@
 \end{tabular}
 \end{cquote}
-All declaration qualifiers, \eg ©extern©, ©static©, etc., are used in the normal way with the new declarations but can only appear at the start of a \CFA routine declaration,\footnote{\label{StorageClassSpecifier}
+All declaration qualifiers, \eg ©extern©, ©static©, \etc, are used in the normal way with the new declarations but can only appear at the start of a \CFA routine declaration,\footnote{\label{StorageClassSpecifier}
 The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature.~\cite[\S~6.11.5(1)]{C11}} \eg:
 \begin{cquote}
@@ -3147,5 +3148,5 @@
 also, it is unnecessary to specify all the fields of a struct in a multiple record-field tuple.
 
-Since tuple-index expressions are a form of member-access expression, it is possible to use tuple-index expressions in conjunction with member-access expressions to restructure a tuple (\eg, rearrange components, drop components, duplicate components, etc.).
+Since tuple-index expressions are a form of member-access expression, it is possible to use tuple-index expressions in conjunction with member-access expressions to restructure a tuple (\eg, rearrange components, drop components, duplicate components, \etc).
 \begin{cfa}
 [ int, int, long, double ] x;
@@ -3972,5 +3973,5 @@
 
 \item
-\Indexc{sepOn}\index{manipulator!sepOn@©sepOn©} and \Indexc{sepOff}\index{manipulator!sepOff@©sepOff©} toggle printing the separator with respect to the next printed item, and then return to the global seperator setting.
+\Indexc{sepOn}\index{manipulator!sepOn@©sepOn©} and \Indexc{sepOff}\index{manipulator!sepOff@©sepOff©} toggle printing the separator with respect to the next printed item, and then return to the global separator setting.
 \begin{cfa}[belowskip=0pt]
 sout | 1 | sepOff | 2 | 3; $\C{// turn off implicit separator for the next item}$
@@ -5659,7 +5660,7 @@
 \item
 Package: a container to organize modules for distribution; It has attributes like name, author,
-version, dependences, etc.
-\item
-Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, etc.
+version, dependences, \etc.
+\item
+Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, \etc.
 \end{itemize}
 
@@ -5798,5 +5799,5 @@
 
 A package is defined by putting a project description file, Do.prj, with one or more modules into a directory.
-This project description file contains the package's meta data, including package name, author, version, dependences, etc.
+This project description file contains the package's meta data, including package name, author, version, dependences, \etc.
 It should be in the root of the package directory.
 
@@ -5855,7 +5856,7 @@
 Module: a container to organize a set of related types and methods; It has a module name, and several interfaces visible from outside
 \item
-Package: a container to organize modules for distribution; It has attributes like name, author, version, dependences, etc.
-\item
-Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, etc.
+Package: a container to organize modules for distribution; It has attributes like name, author, version, dependences, \etc.
+\item
+Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, \etc.
 \end{itemize}
 
