X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Ftime.h;h=f2cbf70713d32d302bd3ae25270f37c877d7191f;hb=adc007f31c0d71567b0f69d56575f2295f0a97dc;hp=c82011e49adc9d201391bcf3760ace5171721420;hpb=7a4bdb546094fea3343bfc80e3744ea26a08dd22;p=lttv.git diff --git a/lttv/lttv/time.h b/lttv/lttv/time.h index c82011e4..f2cbf707 100644 --- a/lttv/lttv/time.h +++ b/lttv/lttv/time.h @@ -2,19 +2,19 @@ * Copyright (C) 2003-2004 Michel Dagenais * 2005 Mathieu Desnoyers * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License Version 2.1 as published by the Free Software Foundation. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License Version 2 as + * published by the Free Software Foundation; * - * This library is distributed in the hope that it will be useful, + * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA */ #ifndef LTT_TIME_H @@ -29,6 +29,10 @@ typedef struct _LttTime { unsigned long tv_nsec; } LttTime; +typedef struct _TimeInterval { + LttTime start_time; + LttTime end_time; +} TimeInterval; #define NANOSECONDS_PER_SECOND 1000000000