Changeset d987881 for doc/theses/fangren_yu_MMath
- Timestamp:
- Jul 31, 2023, 9:59:56 PM (17 months ago)
- Branches:
- master
- Children:
- b3ac8ce3
- Parents:
- 28c2933
- Location:
- doc/theses/fangren_yu_MMath
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/fangren_yu_MMath/performance.tex
r28c2933 rd987881 1 1 \chapter{Performance} 2 2 3 If there are any perfor amnce experiments.3 If there are any performance experiments. -
doc/theses/fangren_yu_MMath/uw-ethesis-frontpgs.tex
r28c2933 rd987881 1 1 % T I T L E P A G E 2 2 % ------------------- 3 % Last updated October 23, 2020, by Stephen Carr,IST-Client Services3 % Last updated August 16, 2022, by IST-Client Services 4 4 % The title page is counted as page `i' but we need to suppress the 5 5 % page number. Also, we don't want any headers or footers. … … 13 13 \vspace*{1.0cm} 14 14 15 {\Huge\bf Type Resolution in \CFA} 15 \Huge 16 {\bf Type Resolution in \CFA} 16 17 17 18 \vspace*{1.0cm} 18 19 20 \normalsize 19 21 by \\ 20 22 21 23 \vspace*{1.0cm} 22 24 23 {\Large Fangren Yu} \\ 25 \Large 26 Fangren Yu \\ 24 27 25 28 \vspace*{3.0cm} 26 29 30 \normalsize 27 31 A thesis \\ 28 presented to the University of Waterloo \\ 32 presented to the University of Waterloo \\ 29 33 in fulfillment of the \\ 30 34 thesis requirement for the degree of \\ … … 43 47 \end{titlepage} 44 48 45 % The rest of the front pages should contain no headers and be numbered using 46 % Roman numerals starting with `ii'. 49 % The rest of the front pages should contain no headers and be numbered using Roman numerals starting with `ii' 47 50 \pagestyle{plain} 48 51 \setcounter{page}{2} 49 52 50 \cleardoublepage % Ends the current page and causes all figures and tables 51 % that have so far appeared in the input to be printed. In a two-sided 52 % printing style, it also makes the next page a right-hand (odd-numbered) 53 % page, producing a blank page if necessary. 53 \cleardoublepage % Ends the current page and causes all figures and tables that have so far appeared in the input to be printed. 54 % In a two-sided printing style, it also makes the next page a right-hand (odd-numbered) page, producing a blank page if necessary. 55 \phantomsection % allows hyperref to link to the correct page 54 56 55 57 \begin{comment} 56 58 % E X A M I N I N G C O M M I T T E E (Required for Ph.D. theses only) 57 59 % Remove or comment out the lines below to remove this page 60 \addcontentsline{toc}{chapter}{Examining Committee} 58 61 \begin{center}\textbf{Examining Committee Membership}\end{center} 59 62 \noindent 60 The following served on the Examining Committee for this thesis. 61 The decision of the Examining Committee is by majority vote. 63 The following served on the Examining Committee for this thesis. The decision of the Examining Committee is by majority vote. 62 64 \bigskip 63 65 64 66 \noindent 65 67 \begin{tabbing} 66 68 Internal-External Member: \= \kill % using longest text to define tab length 67 External Examiner: \> Bruce Bruce \\ 69 External Examiner: \> Bruce Bruce \\ 68 70 \> Professor, Dept. of Philosophy of Zoology, University of Wallamaloo \\ 69 \end{tabbing} 71 \end{tabbing} 70 72 \bigskip 71 73 72 74 \noindent 73 75 \begin{tabbing} … … 79 81 \end{tabbing} 80 82 \bigskip 81 83 82 84 \noindent 83 85 \begin{tabbing} … … 87 89 \end{tabbing} 88 90 \bigskip 89 91 90 92 \noindent 91 93 \begin{tabbing} … … 95 97 \end{tabbing} 96 98 \bigskip 97 99 98 100 \noindent 99 101 \begin{tabbing} … … 110 112 % The following is a sample Declaration Page as provided by the GSO 111 113 % December 13th, 2006. It is designed for an electronic thesis. 114 \addcontentsline{toc}{chapter}{Author's Declaration} 112 115 \begin{center}\textbf{Author's Declaration}\end{center} 113 116 114 117 \noindent 115 I hereby declare that I am the sole author of this thesis. This is a true copy 116 of the thesis, including any required final revisions, as accepted by my 117 examiners. 118 I hereby declare that I am the sole author of this thesis. This is a true copy of the thesis, including any required final revisions, as accepted by my examiners. 118 119 119 120 \bigskip 120 121 121 122 \noindent 122 123 I understand that my thesis may be made electronically available to the public. 123 124 124 125 \cleardoublepage 126 \phantomsection % allows hyperref to link to the correct page 125 127 126 128 % A B S T R A C T 127 129 % --------------- 128 130 \addcontentsline{toc}{chapter}{Abstract} 129 131 \begin{center}\textbf{Abstract}\end{center} 130 132 … … 132 134 133 135 \cleardoublepage 136 \phantomsection % allows hyperref to link to the correct page 134 137 135 138 % A C K N O W L E D G E M E N T S 136 139 % ------------------------------- 140 \addcontentsline{toc}{chapter}{Acknowledgements} 141 \begin{center}\textbf{Acknowledgements}\end{center} 137 142 138 \begin{center} 139 \textbf{Acknowledgements} 140 141 I would like to thank ... 143 I would like to thank all the little people who made this thesis possible. 142 144 143 145 Finally, a special thank you to Huawei Canada for funding this work. 144 \end{center} 146 145 147 \cleardoublepage 148 \phantomsection % allows hyperref to link to the correct page 146 149 147 150 \begin{comment} 148 151 % D E D I C A T I O N 149 152 % ------------------- 150 153 \addcontentsline{toc}{chapter}{Dedication} 151 154 \begin{center}\textbf{Dedication}\end{center} 152 155 … … 171 174 % L I S T O F T A B L E S 172 175 % --------------------------- 173 % \addcontentsline{toc}{chapter}{List of Tables} 174 % \listoftables 175 % \cleardoublepage 176 % \phantomsection % allows hyperref to link to the correct page 176 \addcontentsline{toc}{chapter}{List of Tables} 177 \listoftables 178 \cleardoublepage 179 \phantomsection % allows hyperref to link to the correct page 180 181 % L I S T O F A B B R E V I A T I O N S 182 % --------------------------- 183 \renewcommand*{\abbreviationsname}{List of Abbreviations} 184 \printglossary[type=abbreviations] 185 \cleardoublepage 186 \phantomsection % allows hyperref to link to the correct page 187 188 \begin{comment} 189 % L I S T O F S Y M B O L S 190 % --------------------------- 191 \printglossary[type=symbols] 192 \cleardoublepage 193 \phantomsection % allows hyperref to link to the correct page 194 \end{comment} 177 195 178 196 % Change page numbering back to Arabic numerals -
doc/theses/fangren_yu_MMath/uw-ethesis.tex
r28c2933 rd987881 1 1 %====================================================================== 2 % University of Waterloo Thesis Template for LaTeX 3 % Last Updated November, 20204 % by Stephen Carr, IST Client Services,2 % University of Waterloo Thesis Template for LaTeX 3 % Last Updated August 2022 4 % by IST Client Services, 5 5 % University of Waterloo, 200 University Ave. W., Waterloo, Ontario, Canada 6 % FOR ASSISTANCE, please send mail to request@uwaterloo.ca6 % FOR ASSISTANCE, please send mail to helpdesk@uwaterloo.ca 7 7 8 8 % DISCLAIMER … … 21 21 22 22 % DON'T FORGET TO ADD YOUR OWN NAME AND TITLE in the "hyperref" package configuration below. 23 % THIS INFORMATION GETS EMBEDDED IN THE PDF FINAL PDF DOCUMENT. 23 % Search for: PDFTITLE, PDFAUTHOR, PDFSUBJECT, and PDFKEYWORDS. 24 % THIS INFORMATION GETS EMBEDDED IN THE FINAL PDF DOCUMENT. 24 25 % You can view the information if you view properties of the PDF document. 25 26 26 % Many faculties/departments also require one or more printed copies. 27 % This template attempts to satisfy both types of output. 27 % Many faculties/departments also require one or more printed copies. 28 % This template attempts to satisfy both types of output. 28 29 % See additional notes below. 29 30 % It is based on the standard "book" document class which provides all necessary sectioning structures and allows multi-part theses. … … 32 33 33 34 % For people who prefer to install their own LaTeX distributions on their own computers, and process the source files manually, the following notes provide the sequence of tasks: 34 35 35 36 % E.g. to process a thesis called "mythesis.tex" based on this template, run: 36 37 … … 51 52 % Tip: Photographs should be cropped and compressed so as not to be too large. 52 53 53 % To create a PDF output that is optimized for double-sided printing: 54 % To create a PDF output that is optimized for double-sided printing: 54 55 % 1) comment-out the \documentclass statement in the preamble below, and un-comment the second \documentclass line. 55 56 % 2) change the value assigned below to the boolean variable "PrintVersion" from " false" to "true". … … 61 62 \documentclass[letterpaper,12pt,titlepage,oneside,final]{book} 62 63 \usepackage[T1]{fontenc} % Latin-1 => 256-bit characters, => | not dash, <> not Spanish question marks 63 64 64 65 % For PDF, suitable for double-sided printing, change the PrintVersion variable below to "true" and use this \documentclass line instead of the one above: 65 66 %\documentclass[letterpaper,12pt,titlepage,openright,twoside,final]{book} … … 68 69 % If you have to, it's easier to make changes to nomenclature once here than in a million places throughout your thesis! 69 70 \newcommand{\package}[1]{\textbf{#1}} % package names in bold text 70 \newcommand{\cmmd}[1]{\textbackslash\texttt{#1}} % command name in tt font 71 \newcommand{\cmmd}[1]{\textbackslash\texttt{#1}} % command name in tt font 71 72 \newcommand{\href}[1]{#1} % does nothing, but defines the command so the print-optimized version will ignore \href tags (redefined by hyperref pkg). 72 73 %\newcommand{\texorpdfstring}[2]{#1} % does nothing, but defines the command … … 81 82 %\usepackage{nomencl} % For a nomenclature (optional; available from ctan.org) 82 83 \usepackage{amsmath,amssymb,amstext} % Lots of math symbols and environments 84 \usepackage{fullpage,times,comment} 83 85 \usepackage{xcolor} 84 86 \usepackage{epic,eepic} 85 87 \usepackage{graphicx} 86 \usepackage{comment} % Removes large sections of the document.87 88 \usepackage{tabularx} 88 \usepackage{subfigure} 89 \usepackage[labelformat=simple,aboveskip=0pt,farskip=0pt,font=normalsize]{subfig} 90 \renewcommand\thesubfigure{(\alph{subfigure})} 91 % cfa macros used in the document 92 \input{common} 93 %\usepackageinput{common} 94 \CFAStyle % CFA code-style 95 \lstset{language=CFA} % default language 96 \lstset{basicstyle=\linespread{0.9}\sf} % CFA typewriter font 97 \newcommand{\newtermFont}{\emph} 98 \newcommand{\Newterm}[1]{\newtermFont{#1}} 99 %\renewcommand{\newterm}[1]{\newtermFont{#1}} 100 \newcommand{\uC}{$\mu$\CC} 101 \newcommand{\PAB}[1]{{\color{red}PAB: #1}} 89 102 90 103 % Hyperlinks make it very easy to navigate an electronic document. 91 104 % In addition, this is where you should specify the thesis title and author as they appear in the properties of the PDF document. 92 % Use the "hyperref" package 105 % Use the "hyperref" package 93 106 % N.B. HYPERREF MUST BE THE LAST PACKAGE LOADED; ADD ADDITIONAL PKGS ABOVE 94 107 \usepackage{url} 95 108 \usepackage[dvips,pagebackref=true]{hyperref} % with basic options 96 109 %\usepackage[pdftex,pagebackref=true]{hyperref} 97 % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing.110 % N.B. pagebackref=true provides links back from the References to the body text. This can cause trouble for printing. 98 111 \hypersetup{ 99 112 plainpages=false, % needed if Roman numbers in frontpages … … 103 116 pdffitwindow=false, % window fit to page when opened 104 117 pdfstartview={FitH}, % fits the width of the page to the window 105 pdftitle={ High-Performance Concurrent Memory Allocation}, % title: CHANGE THIS TEXT!106 pdfauthor={ Mubeen Zulfiqar}, % author: CHANGE THIS TEXT! and uncomment this line118 pdftitle={Type Resolution in \CFA}, % title: CHANGE THIS TEXT! 119 pdfauthor={Fangren Yu}, % author: CHANGE THIS TEXT! and uncomment this line 107 120 pdfsubject={Cforall}, % subject: CHANGE THIS TEXT! and uncomment this line 108 pdfkeywords={Cforall} { storage allocation} {C language}, % optional list of keywords121 pdfkeywords={Cforall} {type resolution} {C language}, % optional list of keywords 109 122 pdfnewwindow=true, % links in new window 110 123 colorlinks=true, % false: boxed links; true: colored links 111 124 linkcolor=blue, % color of internal links 112 citecolor=blue, % color of links to bibliography125 citecolor=blue, % color of links to bibliography 113 126 filecolor=magenta, % color of file links 114 urlcolor=blue, 127 urlcolor=blue, % color of external links 115 128 breaklinks=true 116 129 } 117 130 \ifthenelse{\boolean{PrintVersion}}{ % for improved print quality, change some hyperref options 118 131 \hypersetup{ % override some previously defined hyperref options 132 % colorlinks,% 119 133 citecolor=black,% 120 134 filecolor=black,% 121 135 linkcolor=black,% 122 urlcolor=black 123 } }{} % end of ifthenelse (no else)124 %\usepackage[dvips,plainpages=false,pdfpagelabels,pdfpagemode=UseNone,pagebackref=true,breaklinks=true,colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} 136 urlcolor=black} 137 }{} % end of ifthenelse (no else) 138 125 139 \usepackage{breakurl} 126 140 \urlstyle{sf} 127 141 128 %\usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package 129 % If glossaries-extra is not in your LaTeX distribution, get it from CTAN (http://ctan.org/pkg/glossaries-extra), 130 % although it's supposed to be in both the TeX Live and MikTeX distributions. There are also documentation and 142 \usepackage[automake,toc,abbreviations]{glossaries-extra} % Exception to the rule of hyperref being the last add-on package 143 \renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}} 144 % If glossaries-extra is not in your LaTeX distribution, get it from CTAN (http://ctan.org/pkg/glossaries-extra), 145 % although it's supposed to be in both the TeX Live and MikTeX distributions. There are also documentation and 131 146 % installation instructions there. 132 147 133 148 % Setting up the page margins... 134 \setlength{\textheight}{9in}135 \setlength{\topmargin}{-0.45in}136 \setlength{\headsep}{0.25in}149 %\setlength{\textheight}{9in} 150 %\setlength{\topmargin}{-0.45in} 151 %\setlength{\headsep}{0.25in} 137 152 % uWaterloo thesis requirements specify a minimum of 1 inch (72pt) margin at the 138 % top, bottom, and outside page edges and a 1.125 in. (81pt) gutter margin (on binding side). 153 % top, bottom, and outside page edges and a 1.125 in. (81pt) gutter margin (on binding side). 139 154 % While this is not an issue for electronic viewing, a PDF may be printed, and so we have the same page layout for both printed and electronic versions, we leave the gutter margin in. 140 155 % Set margins to minimum permitted by uWaterloo thesis regulations: … … 144 159 % edge is less than 15 mm (0.6 in.) 145 160 \setlength{\marginparsep}{0pt} % width of space between body text and margin notes 146 \setlength{\evensidemargin}{0.125in} % Adds 1/8 in. to binding side of all 161 \setlength{\evensidemargin}{0.125in} % Adds 1/8 in. to binding side of all 147 162 % even-numbered pages when the "twoside" printing option is selected 148 163 \setlength{\oddsidemargin}{0.125in} % Adds 1/8 in. to the left of all pages when "oneside" printing is selected, and to the left of all odd-numbered pages when "twoside" printing is selected … … 153 168 \setlength{\parskip}{\medskipamount} 154 169 155 % The following statement controls the line spacing. 170 % The following statement controls the line spacing. 156 171 % The default spacing corresponds to good typographic conventions and only slight changes (e.g., perhaps "1.2"), if any, should be made. 157 172 \renewcommand{\baselinestretch}{1} % this is the default line space setting … … 166 181 \let\cleardoublepage\clearemptydoublepage 167 182 168 % Define Glossary terms (This is properly done here, in the preamble and 169 % could also be \input{} from a separate file...) 170 %\input{glossaries} 171 %\makeglossaries 172 173 % cfa macros used in the document 174 \input{common} 175 %\usepackageinput{common} 176 \CFAStyle % CFA code-style 177 \lstset{language=CFA} % default language 178 \lstset{basicstyle=\linespread{0.9}\sf} % CFA typewriter font 179 \newcommand{\uC}{$\mu$\CC} 180 \newcommand{\PAB}[1]{{\color{red}PAB: #1}} 183 % Define Glossary terms (This is properly done here, in the preamble and could also be \input{} from a separate file...) 184 \input{glossary} 185 \makeglossaries 181 186 182 187 %====================================================================== … … 192 197 % dedication, table of contents, list of tables, list of figures, nomenclature, etc. 193 198 %---------------------------------------------------------------------- 194 \input{uw-ethesis-frontpgs} 199 \input{uw-ethesis-frontpgs} 195 200 196 201 %---------------------------------------------------------------------- … … 201 206 % Tip: Putting each sentence on a new line is a way to simplify later editing. 202 207 %---------------------------------------------------------------------- 203 \begin{sloppypar}204 208 205 209 \input{intro} … … 210 214 \input{conclusion} 211 215 212 \end{sloppypar}213 214 216 %---------------------------------------------------------------------- 215 217 % END MATERIAL … … 219 221 % Bibliography 220 222 221 % The following statement selects the style to use for references. 223 % The following statement selects the style to use for references. 222 224 % It controls the sort order of the entries in the bibliography and also the formatting for the in-text labels. 223 225 \bibliographystyle{plain} 224 % This specifies the location of the file containing the bibliographic information. 226 % This specifies the location of the file containing the bibliographic information. 225 227 % It assumes you're using BibTeX to manage your references (if not, why not?). 226 228 \cleardoublepage % This is needed if the "book" document class is used, to place the anchor in the correct page, because the bibliography will start on its own page. 227 229 % Use \clearpage instead if the document class uses the "oneside" argument 228 \phantomsection % With hyperref package, enables hyperlinking from the table of contents to bibliography 230 \phantomsection % With hyperref package, enables hyperlinking from the table of contents to bibliography 229 231 % The following statement causes the title "References" to be used for the bibliography section: 230 232 \renewcommand*{\bibname}{References} … … 234 236 235 237 \bibliography{pl,uw-ethesis} 236 % Tip: You can create multiple .bib files to organize your references. 238 % Tip: You can create multiple .bib files to organize your references. 237 239 % Just list them all in the \bibliogaphy command, separated by commas (no spaces). 238 240 239 % The following statement causes the specified references to be added to the bibliography even if they were not cited in the text. 241 % The following statement causes the specified references to be added to the bibliography even if they were not cited in the text. 240 242 % The asterisk is a wildcard that causes all entries in the bibliographic database to be included (optional). 241 243 % \nocite{*} … … 245 247 246 248 % The \appendix statement indicates the beginning of the appendices. 247 \appendix249 % \appendix 248 250 % Add an un-numbered title page before the appendices and a line in the Table of Contents 249 251 % \chapter*{APPENDICES} … … 252 254 % \input{appendix-matlab_plots.tex} 253 255 254 % GLOSSARIES (Lists of definitions, abbreviations, symbols, etc. 255 % provided by the glossaries-extra package) 256 % GLOSSARIES (Lists of definitions, abbreviations, symbols, etc. provided by the glossaries-extra package) 256 257 % ----------------------------- 257 %\printglossaries 258 %\cleardoublepage259 %\phantomsection % allows hyperref to link to the correct page258 \printglossary 259 \cleardoublepage 260 \phantomsection % allows hyperref to link to the correct page 260 261 261 262 %----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.