%------------------------------------------------------------------------------
%                  Useful commands and acronymns used in the paper.
%------------------------------------------------------------------------------
% Commands
\newcommand{\mycomment}[1]{}
\newcommand{\ignore}[1]{}
%\ifpdf
%\renewcommand{\url}[1]{\texttt{\small{#1}}}
%\else
%\newcommand{\url}[1]{\texttt{\small{#1}}}
%\fi
\newcommand{\code}[1]{\texttt{#1}}
\newcommand{\codesm}[1]{\texttt{\small #1}}
\newcommand{\sm}[1]{{\small #1}}
\newcommand{\mycaption}[2]{\textbf{\textsf{\caption{#1}#2}}}

\newcommand{\todo}[1]{\textbf{TODO [#1]???}} 
\newcommand{\fixme}[1]{\textbf{FIXME [#1]???}} 
\newcommand{\remark}[1]{\textbf{REMARK [#1]???}} 

% Acronymns
\newcommand{\apriori}{\textit{a priori}}
\newcommand{\adhoc}{ad hoc}
\newcommand{\etal}{\textit{et al.}}
\newcommand{\eg}{\textit{e.g.}}
\newcommand{\ie}{\textit{i.e.}}
%\newcommand{\mybull}{$\bullet$}
\newcommand{\mybull}{}
\newcommand{\mystar}{$\bigstar$}


% Section names, figure names and algorithm names.
\newcommand{\figref}[1]{Figure~\ref{#1}}
\newcommand{\sectref}[1]{Section~\ref{#1}}
\newcommand{\sectrefs}[2]{Sections~\ref{#1}-\ref{#2}}
\newcommand{\aref}[1]{Algorithm~\ref{#1}}
\newcommand{\sect}[1]{\section{#1}}
\newcommand{\subsect}[1]{\subsection{#1}}
\newcommand{\subsubsect}[1]{\subsubsection{#1}}
\newcommand{\mysect}[1]{\subsect{#1}}

% Tool names
%\newcommand{\toolname}{FGT} 
\newcommand{\toolshort}{FGFT} 
\newcommand{\toolified}{carburized}
\newcommand{\isotoolname}{Fine-grained} 
\newcommand{\recotoolname}{device state checkpointing} 
\newcommand{\Recotoolname}{Device state checkpointing} 

\newcommand{\superscript}[1]{\ensuremath{^{\textrm{#1}}}}
\newcommand{\subscript}[1]{\ensuremath{_{\textrm{#1}}}}


\newcommand{\dthot}{D3\subscript{\it \footnotesize hot}}
\newcommand{\dtcold}{D3\subscript{\it \footnotesize cold}}
\newcommand{\dzu}{D0\subscript{\it \footnotesize uninitialized}}
\newcommand{\dzi}{D0\subscript{\it \footnotesize initialized} }
