The area under the stress strain curve is an energy per unit volume. If you assume a perfectly plastic material and uniform deformation,
q = [σ][ε]pV
Also if it is adiabatic
q = mcp[Δ]T
If all the energy input is dissipate as heat
[Δ]T=[σ][ε]p/([ρ]cp)
If you have a less simple case, the idea is the same but it takes a little more work. Of course, as always watch the units.