00001 /* 00002 * This file: libastrog_p_testtimer.h is part of the Astrog software library 00003 * that uses the graphics processing unit (GPU) to accelerate 00004 * astronomy calculations. 00005 * 00006 * Copyright (C) 2007 C. J. Harris, B. J. Mort 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00021 * 02110-1301 USA 00022 */ 00023 00028 #include <iostream> 00029 #include "libastrog_astrog.h" 00030 #include "libastrog_pipeline.h" 00031 #include "libastrog_timer.h" 00032 00033 namespace astrog { 00039 class PipelineTestTimer : public Pipeline { 00040 public: 00042 PipelineTestTimer(); 00044 ~PipelineTestTimer(); 00046 int execute(); 00047 private: 00049 Timer* timer; 00050 }; 00051 00052 } // end namespace