clock
The clock
command allows you to change
the clock frequencies driving the computing units. Note that your compute units must be
capable or running at the specified clock. You can modify both clock1 and clock2 using this
command.
It has the following options:
-d <card>
(Optional): Specifies the target card. Default = 0 if not specified.-r <region>
(Optional): Specifies the target region. Default = 0 if not specified.-f <clock1_freq_MHz>
(Required): Specifies clock frequency (in MHz) for the first clock. All platforms have this clock.-g <clock2_freq_MHz>
(Optional): Specifies clock frequency (in MHz) for the second clock. Some platforms may not have this clock.-h <clock3_freq_MHz>
(Optional): Specifies clock frequency (in MHz) for the third clock. Some platforms may not have this clock.
For example, to change clock1 in card 0 to 100 MHz, run the following command:
$ xbutil clock -d 0 -f 100
Similarly, to change two clocks in card 0, such that clock1 is set to 200 MHz and clock2 is set to 250 MHz, run this command:
$ xbutil clock -d 0 -f 200 -g 250
The following example is an output after running this command:
INFO: Found total 1 card(s), 1 are usable
INFO: xbutil clock succeeded.