summaryrefslogtreecommitdiff
path: root/src/common.h
blob: 7fdb51352ce5557cde6c89d1e19601a9fe070164 (plain)
    1 // 
    2 // Copyright (C) 2015 Aaron Ball <nullspoon@iohq.net>
    3 // 
    4 // Cnetbench is free software: you can redistribute it and/or modify
    5 // it under the terms of the GNU General Public License as published by
    6 // the Free Software Foundation, either version 3 of the License, or
    7 // (at your option) any later version.
    8 // 
    9 // Cnetbench is distributed in the hope that it will be useful,
   10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
   11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12 // GNU General Public License for more details.
   13 // 
   14 // You should have received a copy of the GNU General Public License
   15 // along with cnetbench.  If not, see <http://www.gnu.org/licenses/>.
   16 // 
   17 #include <stdlib.h>
   18 // For sleep()
   19 #include <unistd.h>
   20 // For pid_t
   21 #include <netinet/in.h>
   22 // For timing functionality
   23 #include <sys/time.h>
   24 #include <wait.h>
   25 
   26 int time_pids(pid_t*, int, struct timeval*);

Generated by cgit