There are a couple of popular ways to govern diesel engines: by requesting a speed, or by requesting a torque. For many truck engines with electronic controls the preferred method is to request speed (engine rpm) via the accelerator pedal, and the engine responds by delivering an amount of torque related to the difference between the requested speed and the current speed considering the performance limits of the engine. As such, you couldn't say that 25% "throttle" means 25% torque, since 25% throttle means a particular desired speed and the engine will change torque output to get there.
It gets a little bit more complicated than that even ... Oftentimes the (electronic) accelerator pedal provides a PWM signal to the engine, where having no pressure on the pedal gives a relatively low % duty cycle output, and having maximum pedal displacement gives a relatively high duty cycle output. Typically the lowest engine speed corresponds to about 20% duty cycle from the pedal, and the highest engine speed corresponds to about 80% duty cycle. In some implementations, calibration of the accelerator pedal is done automatically by the engine, such that initially the engine expects to see 25% duty cycle corresponding to low idle and 75% duty cycle corresponding to high idle, and it will re-map those duty cycle figures based on the pedal inputs it sees in practice over its operating life (typically expanding the range of operation when the duty cycle goes out of the previously established "hi" and "low" points). In these implementations there is no direct correlation between the pedal duty cycle value and a desired RPM. For example, it is not possible to input a 50% duty cycle value and expect the engine to operate at 1,800 rpm.