Lines Matching full:profiling
27 #include <armnn/profiling/ArmNNProfiling.hpp>
172 // This should start the command handler thread return the connection ack and put the profiling
343 // Hard code the version as it will be the same during a single profiling session
402 // Hard code the version as it will be the same during a single profiling session
702 // Reset the profiling service to stop any running thread
816 // Reset the profiling service to stop any running thread
1211 counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1224 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1237 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1251 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1265 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1280 noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1293 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1307 counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1320 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1334 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1348 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1376 counter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1401 counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1416 CHECK_NOTHROW(counterWUnits = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1442 CHECK_NOTHROW(counterWoDevice = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1469 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1496 CHECK_NOTHROW(counterWDevice = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1524 … CHECK_NOTHROW(counterWoCounterSet = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1552 CHECK_THROWS_AS(noCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID,
1572 armnn::profiling::BACKEND_ID, 50,
1610 armnn::profiling::BACKEND_ID, 19, categoryName, 0, 1,
1652 armnn::profiling::BACKEND_ID,
1695 armnn::profiling::BACKEND_ID, 300,
1719 armnn::profiling::BACKEND_ID, 23,
1752 … CHECK_NOTHROW(anotherCounter = counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, 24,
1981 …// Write an "ActivateTimelineReporting" packet into the mock profiling connection, to simulate an …
1982 // external profiling service
2066 // Profiling is enabled, the post-optimisation structure should be created
2485 …CHECK_THROWS_AS(commandHandler(wrongPacket), arm::pipe::ProfilingException); // Wrong profiling st…
2487 …CHECK_THROWS_AS(commandHandler(wrongPacket), arm::pipe::ProfilingException); // Wrong profiling st…
2489 …CHECK_THROWS_AS(commandHandler(wrongPacket), arm::pipe::ProfilingException); // Wrong profiling st…
2549 counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, 24,
2551 counterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, 25,
2555 …CHECK_THROWS_AS(commandHandler(packet), arm::pipe::ProfilingException); // Wrong profiling state
2557 …CHECK_THROWS_AS(commandHandler(packet), arm::pipe::ProfilingException); // Wrong profiling state
2559 …CHECK_THROWS_AS(commandHandler(packet), arm::pipe::ProfilingException); // Wrong profiling state
2614 // Reset the profiling service to the uninitialized state
2625 // Swap the profiling connection factory in the profiling service instance with our mock one
2628 // Bring the profiling service to the "WaitingForAck" state
2632 profilingService.Update(); // Create the profiling connection
2634 // Get the mock profiling connection
2648 …// Write a valid "Connection Acknowledged" packet into the mock profiling connection, to simulate …
2649 // reply from an external profiling service
2663 // Write the packet to the mock profiling connection
2669 … // The Connection Acknowledged Command Handler should have updated the profiling state accordingly
2672 // Reset the profiling service to stop any running thread
2679 // Reset the profiling service to the uninitialized state
2690 // Swap the profiling connection factory in the profiling service instance with our mock one
2693 // Bring the profiling service to the "Active" state
2697 profilingService.Update(); // Create the profiling connection
2701 // Get the mock profiling connection
2705 // Force the profiling service to the "Active" state
2709 …// Write a valid "Request Counter Directory" packet into the mock profiling connection, to simulat…
2710 // reply from an external profiling service
2724 // Write the packet to the mock profiling connection
2732 // The Request Counter Directory Command Handler should not have updated the profiling state
2735 // Reset the profiling service to stop any running thread
2742 // Reset the profiling service to the uninitialized state
2753 // Swap the profiling connection factory in the profiling service instance with our mock one
2756 // Bring the profiling service to the "Active" state
2760 profilingService.Update(); // Create the profiling connection
2764 // Get the mock profiling connection
2768 // Force the profiling service to the "Active" state
2775 …// Write a "Periodic Counter Selection" packet into the mock profiling connection, to simulate an …
2776 // external profiling service
2808 // Write the packet to the mock profiling connection
2816 // The Periodic Counter Selection Handler should not have updated the profiling state
2819 // Reset the profiling service to stop any running thread
2826 // Reset the profiling service to the uninitialized state
2837 // Swap the profiling connection factory in the profiling service instance with our mock one
2840 // Bring the profiling service to the "Active" state
2844 profilingService.Update(); // Create the profiling connection
2848 // Get the mock profiling connection
2856 // Force the profiling service to the "Active" state
2860 …// Write a "Periodic Counter Selection" packet into the mock profiling connection, to simulate an …
2861 // external profiling service
2876 // Write the packet to the mock profiling connection
2883 // The Periodic Counter Selection Handler should not have updated the profiling state
2889 // Reset the profiling service to stop any running thread
2896 // Reset the profiling service to the uninitialized state
2907 // Swap the profiling connection factory in the profiling service instance with our mock one
2910 // Bring the profiling service to the "Active" state
2914 profilingService.Update(); // Create the profiling connection
2918 // Get the mock profiling connection
2926 // Force the profiling service to the "Active" state
2930 …// Write a "Periodic Counter Selection" packet into the mock profiling connection, to simulate an …
2931 // external profiling service
2960 // Write the packet to the mock profiling connection
2968 // The Periodic Counter Selection Handler should not have updated the profiling state
2971 // Reset the profiling service to stop any running thread
2978 // Reset the profiling service to the uninitialized state
2989 // Swap the profiling connection factory in the profiling service instance with our mock one
2992 // Bring the profiling service to the "Active" state
2996 profilingService.Update(); // Create the profiling connection
3000 // Get the mock profiling connection
3008 // Force the profiling service to the "Active" state
3012 …// Write a "Periodic Counter Selection" packet into the mock profiling connection, to simulate an …
3013 // external profiling service
3044 // Write the packet to the mock profiling connection
3052 // The Periodic Counter Selection Handler should not have updated the profiling state
3055 // Reset the profiling service to stop any running thread
3062 // Reset the profiling service to the uninitialized state
3073 // Swap the profiling connection factory in the profiling service instance with our mock one
3076 // Try to disconnect the profiling service while in the "Uninitialised" state
3081 // Try to disconnect the profiling service while in the "NotConnected" state
3087 // Try to disconnect the profiling service while in the "WaitingForAck" state
3088 profilingService.Update(); // Create the profiling connection
3093 // Try to disconnect the profiling service while in the "Active" state
3096 // Get the mock profiling connection
3104 // Force the profiling service to the "Active" state
3108 // Check that the profiling connection is open
3114 // Check that the profiling connection has been reset
3118 // Reset the profiling service to stop any running thread
3125 // Reset the profiling service to the uninitialized state
3136 // Swap the profiling connection factory in the profiling service instance with our mock one
3139 // Bring the profiling service to the "Active" state
3143 profilingService.Update(); // Create the profiling connection
3147 // Get the mock profiling connection
3155 // Force the profiling service to the "Active" state
3159 …// Write a "Per-Job Counter Selection" packet into the mock profiling connection, to simulate an i…
3160 // external profiling service
3175 // Write the packet to the mock profiling connection
3178 …// Wait for a bit (must at least be the delay value of the mock profiling connection) to make sure…
3179 // the Per-Job Counter Selection packet gets processed by the profiling service
3182 // The Per-Job Counter Selection Command Handler should not have updated the profiling state
3186 // from the profiling service
3191 // Reset the profiling service to stop any running thread
3210 // Reset the profiling service to stop any running thread
3228 // Reset the profiling service to stop any running thread
3257 // Reset the profiling service to stop any running thread
3299 // Reset the profiling service to stop any running thread
3322 // Reset the profiling service to the uninitialized state
3333 // Swap the profiling connection factory in the profiling service instance with our mock one
3336 // Bring the profiling service to the "WaitingForAck" state
3340 profilingService.Update(); // Create the profiling connection
3342 // Get the mock profiling connection
3359 …// Write an invalid "Connection Acknowledged" packet into the mock profiling connection, to simula…
3360 // reply from an external profiling service
3389 // Reset the profiling service to the uninitialized state
3400 // Swap the profiling connection factory in the profiling service instance with our mock one
3403 // Bring the profiling service to the "Active" state
3407 profilingService.Update(); // Create the profiling connection
3410 // Get the mock profiling connection
3414 …// Write a valid "Request Counter Directory" packet into the mock profiling connection, to simulat…
3415 // reply from an external profiling service
3429 // Write the packet to the mock profiling connection
3435 // Reset the profiling service to stop and join any running thread
3458 // Reset the profiling service to the uninitialized state
3469 // Swap the profiling connection factory in the profiling service instance with our mock one
3472 // Bring the profiling service to the "Active" state
3476 profilingService.Update(); // Create the profiling connection
3480 // Get the mock profiling connection
3484 …// Write a "Periodic Counter Selection" packet into the mock profiling connection, to simulate an …
3485 // external profiling service
3500 // Write the packet to the mock profiling connection
3504 // Reset the profiling service to stop any running thread
3523 …CHECK_THROWS_AS(counterIdMap.GetGlobalId(0, armnn::profiling::BACKEND_ID), arm::pipe::ProfilingExc…
3564 // Reset the profiling service to the uninitialized state
3610 // Reset the profiling service to stop any running thread
3620 // Reset the profiling service to the uninitialized state
3752 // Reset the profiling service to stop any running thread
3827 // Create profiling options.
3835 // Enable the profiling service
3854 …if (ss.str().find("Unsupported profiling file format, only binary is supported") == std::string::n…