X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Ftime.h;h=dd3a6af1fdf6f20ab3e5dd27479b4e75c6d04a8b;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=c82011e49adc9d201391bcf3760ace5171721420;hpb=7a4bdb546094fea3343bfc80e3744ea26a08dd22;p=lttv.git diff --git a/lttv/lttv/time.h b/lttv/lttv/time.h index c82011e4..dd3a6af1 100644 --- a/lttv/lttv/time.h +++ b/lttv/lttv/time.h @@ -13,8 +13,8 @@ * * 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. + * 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