次の方法で共有


Test Cases for the USB Performance Test (Windows Embedded CE 6.0)

1/6/2010

The following table shows the test case descriptions for the test cases in the USB Performance Test.

Test case Description

1001-1013

Basic performance testing; issues transfer sizes from 64 bytes to 32K on host and function side. Bandwidth measurement taken as time from transfer issued to callback received on host side.

There are three categories of transfer type:

  • Bulk pipe loopback tests (tests with ID end with 1, like xxx1)
  • Interrupt pipe loopback tests (tests with ID end with 2, xxx2)
  • Isochronous pipe loopback tests (tests with ID end with 3, xxx3)

We exercise IN and OUT transfers independently. Test cases with number xx0x specify OUT transfers and xx1x specify IN transfers. Thus, there is a total of six test cases.

15000-17000,

25000-27000,

35000-37000

Additional performance tests with emphasis on measuring performance on either host or function side. In this scenario either host side or function side will issue a large transfer equivalent to total data transfer for the test, and other side will perform transfers at the various block sizes. This allows for a more accurate measurement of performance on the side where the various transfers occur as a function of the payload size specified, as there is no queuing delay from its counterpart.

This test will measure performance for the bulk category of transfers.

The variations are as follows, where the five-digit test case number is represented as LMNPx.

Transfer time calculation (Lxxxx):

  • L = 1 for host side calculation
  • L = 2 for device side calculation
  • L = 3 for a synchronized calculation that takes place on both sides

Blocking side (xMxxx)

  • M = 5 for host side blocking
  • M = 6 for device side blocking

Physical memory usage (xxNxx):

  • N = 1 for host side use of physical memory
  • N = 2 for device side use
  • N = 3 for both side use

IN or OUT transfers (xxxPx)

  • P = 0 for OUT transfer
  • P = 1 for IN transfer

See Also

Other Resources

USB Performance Test