The primary efficacy endpoint was the sum of total pain relief over @ to @ hours ( TOTPAR-@ ) determined from the area under the curve for pain relief over @ to @ hours following administration of the study drug , where pain relief was measured on a @ to @ scale .