\hypertarget{OTFAUX__Thumbnail_8h}{\section{ompi/contrib/vt/vt/extlib/otf/otfauxlib/\+O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail.h File Reference}
\label{OTFAUX__Thumbnail_8h}\index{ompi/contrib/vt/vt/extlib/otf/otfauxlib/\+O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail.\+h@{ompi/contrib/vt/vt/extlib/otf/otfauxlib/\+O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail.\+h}}
}


Provides a module to collect data for thumbnail generation.  


{\ttfamily \#include $<$otf.\+h$>$}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structOTFAUX__Thumbnail__Data}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Data}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \\*
\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} \hyperlink{group__thumbnail_gac48a7d4567854d8d86ed7ebe5fde6f00}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context}
\begin{DoxyCompactList}\small\item\em Opaque type for using the thumbnail module. \end{DoxyCompactList}\item 
\hypertarget{OTFAUX__Thumbnail_8h_aafcd30177c1aaa1a44372944af83eeb3}{typedef struct \\*
\hyperlink{structOTFAUX__ThumbnailWriter}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer} {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer}}\label{OTFAUX__Thumbnail_8h_aafcd30177c1aaa1a44372944af83eeb3}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_a9125f55a04a50e67928b32c0cbd8f93b}{typedef struct \\*
\hyperlink{structOTFAUX__ThumbnailReader}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader} {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader}}\label{OTFAUX__Thumbnail_8h_a9125f55a04a50e67928b32c0cbd8f93b}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} $\ast$ \hyperlink{group__thumbnail_gaefc772fdbf1be77bd77a1fb709154f5e}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+create} (uint64\+\_\+t min\+Time, uint64\+\_\+t max\+Time, uint32\+\_\+t width)
\begin{DoxyCompactList}\small\item\em Create a context for thumbnail generation. \end{DoxyCompactList}\item 
void \hyperlink{group__thumbnail_ga6edc88607e8cd3bc9272e06de0934675}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+destroy} (\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} $\ast$tn\+\_\+context)
\begin{DoxyCompactList}\small\item\em Destroy a context previously created with {\itshape O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Create}. \end{DoxyCompactList}\item 
void \hyperlink{group__thumbnail_gac294d9452aca774c0c1b64331417d39e}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+declare\+Process} (\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} $\ast$tn\+\_\+context, uint64\+\_\+t process)
\begin{DoxyCompactList}\small\item\em Declares that the process {\itshape process} should be handled by this context. \end{DoxyCompactList}\item 
void \hyperlink{group__thumbnail_ga70a17731de7734e5b0aa6f97c24a6e8a}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+handle\+Enter} (\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} $\ast$tn\+\_\+context, uint64\+\_\+t timestamp, uint64\+\_\+t process, uint32\+\_\+t function)
\begin{DoxyCompactList}\small\item\em Declare that the process {\itshape process} has entered the fucntion {\itshape function} at timestamp {\itshape timestamp}. \end{DoxyCompactList}\item 
void \hyperlink{group__thumbnail_ga8666aecd64d494d66d593bc269b8a96b}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+handle\+Leave} (\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} $\ast$tn\+\_\+context, uint64\+\_\+t timestamp, uint64\+\_\+t process)
\begin{DoxyCompactList}\small\item\em Declare that the process {\itshape process} has left the current fucntion at timestamp {\itshape timestamp}. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{group__thumbnail_gaa2394913941be684af847aac7440f80a}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+get\+Size} (\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} $\ast$context, uint64\+\_\+t process)
\begin{DoxyCompactList}\small\item\em Get the number of entries for the process {\itshape process}. \end{DoxyCompactList}\item 
int \hyperlink{group__thumbnail_ga5f6206e1b5c6198ae845e1b0bb5656fc}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+get\+Data} (\hyperlink{structOTFAUX__Thumbnail__Context}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Context} $\ast$context, uint64\+\_\+t process, \hyperlink{structOTFAUX__Thumbnail__Data}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Data} $\ast$data)
\begin{DoxyCompactList}\small\item\em Get the collected thumbnail data for process {\itshape process}. \end{DoxyCompactList}\item 
\hypertarget{OTFAUX__Thumbnail_8h_a4347ea4a9bd258a17b395fb5e2ae517f}{char $\ast$ {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+get\+Filename} (const char $\ast$namestub, size\+\_\+t length, char $\ast$name\+\_\+buffer)}\label{OTFAUX__Thumbnail_8h_a4347ea4a9bd258a17b395fb5e2ae517f}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_a7715fa8a64196543a430e210b7b5b2ad}{\hyperlink{structOTFAUX__ThumbnailWriter}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer} $\ast$ {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer\+\_\+create} (const char $\ast$filename, uint32\+\_\+t height, uint32\+\_\+t width, \hyperlink{group__fm_ga621c18447ec33f803cc270a9494b0685}{O\+T\+F\+\_\+\+File\+Manager} $\ast$manager)}\label{OTFAUX__Thumbnail_8h_a7715fa8a64196543a430e210b7b5b2ad}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_abb0c1ed99c21901014b4d3f707a2e75b}{int {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer\+\_\+destroy} (\hyperlink{structOTFAUX__ThumbnailWriter}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer} $\ast$tn\+\_\+writer)}\label{OTFAUX__Thumbnail_8h_abb0c1ed99c21901014b4d3f707a2e75b}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_a6201a1afd4aa599376e755b609f71d36}{int {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer\+\_\+close} (\hyperlink{structOTFAUX__ThumbnailWriter}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer} $\ast$tn\+\_\+writer)}\label{OTFAUX__Thumbnail_8h_a6201a1afd4aa599376e755b609f71d36}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_ae3320a654de8fdee0010750ffe15273e}{int {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer\+\_\+write\+Process} (\hyperlink{structOTFAUX__ThumbnailWriter}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Writer} $\ast$tn\+\_\+writer, uint64\+\_\+t process, \hyperlink{structOTFAUX__Thumbnail__Data}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+\_\+\+Data} $\ast$data)}\label{OTFAUX__Thumbnail_8h_ae3320a654de8fdee0010750ffe15273e}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_aea220f1700537596f1738f9efeec48f4}{\hyperlink{structOTFAUX__ThumbnailReader}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader} $\ast$ {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader\+\_\+create} (const char $\ast$filename, \hyperlink{group__fm_ga621c18447ec33f803cc270a9494b0685}{O\+T\+F\+\_\+\+File\+Manager} $\ast$manager)}\label{OTFAUX__Thumbnail_8h_aea220f1700537596f1738f9efeec48f4}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_ad257061706e4258e7634a7d5622c15c7}{int {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader\+\_\+destroy} (\hyperlink{structOTFAUX__ThumbnailReader}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader} $\ast$tn\+\_\+reader)}\label{OTFAUX__Thumbnail_8h_ad257061706e4258e7634a7d5622c15c7}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_a68e14b2ba3b126d063bc86abdb58eb4d}{int {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader\+\_\+close} (\hyperlink{structOTFAUX__ThumbnailReader}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader} $\ast$tn\+\_\+reader)}\label{OTFAUX__Thumbnail_8h_a68e14b2ba3b126d063bc86abdb58eb4d}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_aba5fc7f875c445d3e8465363bf8e4e4e}{int {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader\+\_\+get\+Dimension} (\hyperlink{structOTFAUX__ThumbnailReader}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader} $\ast$tn\+\_\+reader, uint32\+\_\+t $\ast$height, uint32\+\_\+t $\ast$width)}\label{OTFAUX__Thumbnail_8h_aba5fc7f875c445d3e8465363bf8e4e4e}

\item 
\hypertarget{OTFAUX__Thumbnail_8h_a76dc47d5cf5364b7d4986fdb2d9162f9}{int {\bfseries O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader\+\_\+read} (\hyperlink{structOTFAUX__ThumbnailReader}{O\+T\+F\+A\+U\+X\+\_\+\+Thumbnail\+Reader} $\ast$tn\+\_\+reader, void($\ast$process\+\_\+handler)(void $\ast$, uint64\+\_\+t, uint32\+\_\+t, uint32\+\_\+t), void $\ast$data)}\label{OTFAUX__Thumbnail_8h_a76dc47d5cf5364b7d4986fdb2d9162f9}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Provides a module to collect data for thumbnail generation. 

