xref: /netbsd-src/external/gpl3/gdb/dist/include/libfcollector.h (revision e663ba6e3a60083e70de702e9d54bf486a57b6a7)
1*e663ba6eSchristos ! Copyright (C) 2021-2024 Free Software Foundation, Inc.
24b169a6bSchristos ! Contributed by Oracle.
34b169a6bSchristos !
44b169a6bSchristos ! This file is part of GNU Binutils.
54b169a6bSchristos !
64b169a6bSchristos ! This program is free software; you can redistribute it and/or modify
74b169a6bSchristos ! it under the terms of the GNU General Public License as published by
84b169a6bSchristos ! the Free Software Foundation; either version 3, or (at your option)
94b169a6bSchristos ! any later version.
104b169a6bSchristos !
114b169a6bSchristos ! This program is distributed in the hope that it will be useful,
124b169a6bSchristos ! but WITHOUT ANY WARRANTY; without even the implied warranty of
134b169a6bSchristos ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
144b169a6bSchristos ! GNU General Public License for more details.
154b169a6bSchristos !
164b169a6bSchristos ! You should have received a copy of the GNU General Public License
174b169a6bSchristos ! along with this program; if not, write to the Free Software
184b169a6bSchristos ! Foundation, 51 Franklin Street - Fifth Floor, Boston,
194b169a6bSchristos ! MA 02110-1301, USA.
204b169a6bSchristos !
214b169a6bSchristos ! Developer Sampling Collector interface include file
224b169a6bSchristos 
234b169a6bSchristos         interface
244b169a6bSchristos 
254b169a6bSchristos         ! Routine to record a sample in the experiment.
264b169a6bSchristos         subroutine collector_sample(name)
274b169a6bSchristos         character(len=*), intent(in) :: name
284b169a6bSchristos         end subroutine
294b169a6bSchristos 
304b169a6bSchristos         ! Routine to suspend data collection during an experiment.
314b169a6bSchristos         subroutine collector_pause()
324b169a6bSchristos         end subroutine
334b169a6bSchristos 
344b169a6bSchristos         ! Routine to resume data collection during an experiment.
354b169a6bSchristos         subroutine collector_resume()
364b169a6bSchristos         end subroutine
374b169a6bSchristos 
384b169a6bSchristos         ! Routine to stop all data collection and close the experiment.
394b169a6bSchristos         subroutine collector_terminate_expt()
404b169a6bSchristos         end subroutine
414b169a6bSchristos 
424b169a6bSchristos         end interface
43