Gopher2600/coprocessor/developer/doc.go
JetSetIlly 8f09a6521e greatly simplified how coproc developer package profiles execution
cartridge mappers now longer have to deal with the developer package

coprocessor implementations now only need to ask for a profiling map
(previously called an execution map) which can be used to accumulate
cycles

profiling data is processed every scanline and is triggered by the TV.
this method of processing (as opposed to relying on the coprocessor or
mapper to trigger it) means the profiling map can be more gently reset
as part of that process and with little performance impact. the previous
method necessitated the map be reallocated if performance was to be
upheld. the reallocation would inevitably put additional strain on the
garbage collector although this wasn't measured
2022-08-24 10:01:01 +01:00

21 lines
1,011 B
Go

// This file is part of Gopher2600.
//
// Gopher2600 is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Gopher2600 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Gopher2600. If not, see <https://www.gnu.org/licenses/>.
// Package developer offers additional functionality to the developer of ROMs
// that use a coprocessor. It uses available DWARF data for a binary in order
// to provide the developer performance profiling and variable information.
//
// The functionality of this package will be greatly expanded in the future.
package developer