Skip to content

Commit

Permalink
Removed vestigial support for "recoverable errors" performance counter
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Aug 28, 2018
1 parent b4cffd8 commit 8ff3e49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 0 additions & 7 deletions jtagd/ConnectionThread.cpp
Expand Up @@ -291,13 +291,6 @@ void ProcessConnection(JtagInterface* iface, Socket& client)
}
break;

case JTAGD_OP_PERF_RECOV:
{
uint64_t n = iface->GetRecoverableErrorCount();
client.SendLooped((unsigned char*)&n, 8);
}
break;

case JTAGD_OP_PERF_DATA:
{
uint64_t n = iface->GetDataBitCount();
Expand Down
3 changes: 1 addition & 2 deletions jtagd/main.cpp
Expand Up @@ -305,7 +305,6 @@ int main(int argc, char* argv[])

//Print interface statistics
LogNotice("Total number of shift operations: %zu\n", iface->GetShiftOpCount());
LogNotice("Total number of recoverable errors: %zu\n", iface->GetRecoverableErrorCount());
LogNotice("Total number of data bits: %zu\n", iface->GetDataBitCount());
LogNotice("Total number of mode bits: %zu\n", iface->GetModeBitCount());
LogNotice("Total number of dummy clocks: %zu\n", iface->GetDummyClockCount());
Expand Down Expand Up @@ -444,7 +443,7 @@ void ListAdapters()
{
try
{
if(FTDIJtagInterface::IsJtagCapable(i))
if(FTDIJtagInterface::IsMPSSECapable(i))
{
LogNotice("Interface %d: %s\n", idev, FTDIJtagInterface::GetDescription(i).c_str());
LogIndenter li;
Expand Down

0 comments on commit 8ff3e49

Please sign in to comment.