/* *----------------------------------------------------------------------- *----------------------------------------------------------------------- * * File: perfos.h * * Project: Hegias * * Abstract: Header for perf module. * *----------------------------------------------------------------------- *----------------------------------------------------------------------- */ /* *----------------- Distribution and Copyright -------------------------- * * This software is copyright by the CENA/DGAC/FRANCE * All rights reserved. * * No part of the material protected by this copyright notice * may be reproduced or utilized for commercial use in any form * without written permission of the copyright owner. * * It may be reproduced or utilized for R&D use in Non Profit * Organization. * *----------------------------------------------------------------------- */ /* *----------------- Disclaimer ------------------------------------------ * * This software and its documentation are provided "AS IS" and * without any expressed or implied warranties whatsoever. * No warranties as to performance, merchantability, or fitness * for a particular purpose exist. * * Because of the diversity of conditions and hardware under * which this software may be used, no warranty of fitness for * a particular purpose is offered. The user is advised to * test the software thoroughly before relying on it. The user * must assume the entire risk and liability of using this * software. * * In no event shall any person or organization of people be * held responsible for any direct, indirect, consequential * or inconsequential damages or lost profits. * *----------------------------------------------------------------------- */ #ifndef _perfos_h #define _perfos_h #ifdef __CPLUSPLUS__ extern "C" { #endif /* *----------------------------------------------------------------------- * * Included files. * *----------------------------------------------------------------------- */ #include #include #include #include #include #include typedef struct { long current_correction; long current_delay; long total_delay; int actions; char *message; } ChronoRec, *Chrono; /* *----------------------------------------------------------------------- * * Prototypes for exported functions. * *----------------------------------------------------------------------- */ void XStartChrono(Chrono /* chrono */, Display */* display */, Drawable /* window */); void XStopChrono(Chrono /* chrono */, Display */* display */, Drawable /* window */); void StartChrono(Chrono /* chrono */); void StopChrono(Chrono /* chrono */); void StartUCChrono(Chrono /* chrono */); void StopUCChrono(Chrono /* chrono */); Chrono NewChrono(char */* message */); void FreeChrono(Chrono /* chrono */); void PrintChronos(void); void RazChronos(void); #ifdef __CPLUSPLUS__ } #endif #endif /* _perfos_h */