X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Ftiming.h;h=cf68bf89a9996c0c10b2e9ab62e479873cc0b884;hb=29902f3b814d06659a96397214bc3f491895415b;hp=b43f0b77bf61b25ee5c926cf945b7d261303a523;hpb=0a5bf957038b7015d8c47bf8697e00dedc347d2a;p=libfirm diff --git a/ir/ana2/timing.h b/ir/ana2/timing.h index b43f0b77b..cf68bf89a 100644 --- a/ir/ana2/timing.h +++ b/ir/ana2/timing.h @@ -1,29 +1,38 @@ /* -*- c -*- */ /* - * Time-stamp: <26.10.2004 11:56:23h liekweg> - * Project: libFIRM - * File name: ir/ana2/timing.h - * Purpose: generic timing routines - * Author: Florian - * Modified by: - * Created: Mon 18 Oct 2004 - * CVS-ID: $Id$ - * Copyright: (c) 1999-2004 Universität Karlsruhe - * Licence: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. */ -#ifndef _TIMING_H_ -#define _TIMING_H_ +/** + * @file + * @brief generic timing routines + * @author Florian + * @date Mon 18 Oct 2004 + * @version $Id$ + */ +#ifndef FIRM_ANA2_TIMING_H +#define FIRM_ANA2_TIMING_H /* Data structures */ -typedef struct timing_env -{ - struct timeval *start; - struct timeval *end; -} timing_t; +typedef struct timing_env timing_t; /* Protos @@ -31,11 +40,14 @@ typedef struct timing_env timing_t *start_timing (void); int end_timing (timing_t*); -#endif /* def _TIMING_H_ */ +#endif /* $Log$ + Revision 1.2 2004/12/21 15:52:23 beck + moved struct timing_env to .c file, added config.h + Revision 1.1 2004/10/29 18:55:52 liekweg (mostly) generic timimg